feat: add custom code tag to markdown

This commit is contained in:
Stevan Freeborn
2023-04-09 14:50:50 -05:00
parent ae44fe7e07
commit 4c6257012d
12 changed files with 189 additions and 115 deletions
+19 -16
View File
@@ -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: [],
},
],
};
+5 -1
View File
@@ -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 %}