24 lines
416 B
Markdown
24 lines
416 B
Markdown
|
# Silverbullet API
|
||
|
|
||
|
Should be a thing running beside silverbullet and providing a API a user can interact with that allows them to define a schema for a specific path and then turn that into an api with the docs.
|
||
|
|
||
|
|
||
|
_Recipe Schema_
|
||
|
```js
|
||
|
{
|
||
|
meta: {
|
||
|
type: "frontmatter"
|
||
|
}
|
||
|
title: {
|
||
|
type: "heading",
|
||
|
depth: 1
|
||
|
},
|
||
|
description: {
|
||
|
|
||
|
},
|
||
|
ingredients: {
|
||
|
type: "list"
|
||
|
type: "paragraph",
|
||
|
}
|
||
|
}
|
||
|
```
|