The grammar follows that of Markdown, with elements from Scholmd and Github-flavored Markdown.
It deviates from the original Markdown as follows:
Inline code supports a schema like so: `tag, actual code`
, where tag can be used for various things such as syntax highlighting.
For instance, code highlighting and explicit inclusion of raw latex could be denoted by this.
As well, perhaps it could be used as a method to inline scripts for text generation?
Inline math equations can be denoted by $ signs. $ will place a literal $ in either text or inlined math equations.
These also support tags in the same fashion that inline blocks do, and should be handled in the same way.
Citations need to handle bibtex-style citations. This also means we'll need a method for including bibtex files.
LaTeX's table syntax sucks. The original Markdown doesn't provide a spec for tables, but Reddit's does, so that may be worth investigating.
- Headings
- Paragraphs and Lines
- Inline math
- Code blocks
Mostly done. They escape `
with \`
, but do not yet support multiple-backticks like markdown does.