This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from rgieseke/feat/note-spec
feat(Note): Draft Note specification
- Loading branch information
Showing
4 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
title: Note | ||
'@id': stencila:Note | ||
extends: Entity | ||
role: secondary | ||
status: unstable | ||
description: Additional content which is not part of the main content of a document. | ||
$comment: | | ||
A note is usually associated with a word or paragraph using a number or other symbol. | ||
It can be displayed as a footnote, endnote, or side note, or in interactive elements. | ||
For analogues, see | ||
- [JATS `<fn>`](https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/fn.html) | ||
- [Pandoc footnotes](https://pandoc.org/MANUAL.html#footnotes) | ||
- [HTML `<aside>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside) | ||
properties: | ||
noteType: | ||
'@id': stencila:noteType | ||
description: Determines where the note content is displayed within the document. | ||
type: string | ||
enum: | ||
- Footnote | ||
- Endnote | ||
- Sidenote | ||
content: | ||
'@id': stencila:content | ||
description: Content of the note, usually a paragraph. | ||
type: array | ||
items: | ||
$ref: BlockContent | ||
$comment: | | ||
Most notes will have a single paragraph but could have multiple | ||
paragraphs, tables and even figures. | ||
required: | ||
- content |