Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for endnote syntax #72

Open
3 tasks done
borgar opened this issue Apr 21, 2021 · 0 comments
Open
3 tasks done

Add support for endnote syntax #72

borgar opened this issue Apr 21, 2021 · 0 comments

Comments

@borgar
Copy link
Owner

borgar commented Apr 21, 2021

Support should be added for endnote syntax. Textile-lang.com gives the following example:

The sun is reportedly hot,[#hot] just like freshly baked potatoes.[#hot] Ice is cold.[#cold]

note#hot. Ouch.

note#cold. Brrr.

notelist:1.

Endnote syntax consists of three separate elements:

  • Support inline note reference: [#LABEL] | [#LABEL!]
  • Support block note definition: note#LABEL. TEXT | note#LABEL^. TEXT
  • Support block note list: notelist. | notelist:A^+.
borgar added a commit that referenced this issue May 5, 2021
This follows the PHP syntax output pretty much exactly. I am not a bit fan of the output but I don't see a reason to deviate from it.

Closes #72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant