feat: add custom code tag to markdown
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
import { DocsStructure } from '@/app/types/types';
|
||||
|
||||
export const versionTwo: DocsStructure[] = [
|
||||
{
|
||||
title: 'Introduction',
|
||||
folder: 'introduction',
|
||||
copy: 'copy.md',
|
||||
example: 'example.md',
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
title: 'Authentication',
|
||||
folder: 'authentication',
|
||||
copy: 'copy.md',
|
||||
example: 'example.md',
|
||||
children: [],
|
||||
},
|
||||
];
|
||||
export const versionTwo: DocsStructure = {
|
||||
version: 'version_002',
|
||||
docs: [
|
||||
{
|
||||
title: 'Introduction',
|
||||
folder: 'introduction',
|
||||
copy: 'copy.md',
|
||||
example: 'example.md',
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
title: 'Authentication',
|
||||
folder: 'authentication',
|
||||
copy: 'copy.md',
|
||||
example: 'example.md',
|
||||
children: [],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Introduction
|
||||
|
||||
This is the copy for the introduction page.
|
||||
The Onspring API is organized around REST. It enables external programs to retrieve, save, and delete data within your Onspring instance. The Onspring API implements version 3 of the Open API Specification (OAS).
|
||||
|
||||
The Onspring API does support bulk operation for some, but not all endpoints. Bulk operations are not supported for endpoints that create, update, or delete data. The one exception is the bulk delete endpoint, which is used to delete multiple records at once.
|
||||
|
||||
The Onspring API is used to interact with any Onspring instance regardless of whether it is a development, test, or production instance.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Example
|
||||
|
||||
This is the example for the introduction page.
|
||||
|
||||
{% code language="javascript" %}
|
||||
console.log('hello world');
|
||||
{% /code %}
|
||||
|
||||
Reference in New Issue
Block a user