Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Add footnote definition/reference tokens #7

Merged
merged 13 commits into from Mar 10, 2020
Merged

Conversation

chrisjsewell
Copy link
Member

This PR introduces an initial implementation of footnotes:

[^a]

[^a]: a footnote

NOTE: currently this only supports single line footnotes,
but it is intended that this will eventually support multi-line:

[^a]

[^a]: a footnote

    with a block below, that can contain

    > quotes

    and other block/span elements

and is terminated on the first unindented line,
that occurs after an empty line.

Also move to `base_elements` module
This generalises the concept of skipping token storage, to more than just `LinkDefinition` (e.g. to add Footnote)
Add more hyperlinks and move badges to development section
now includes child index
This only stores footnotes a single line. Eventually this will be improved to parse paragraphs
Also:

- rename `TokenSet` -> `OrderedSet`
- move token sets to seperate module
-  Add `standalone` HTML renderer option
- remove default render method (since it could lead to unexpected side effects)
- Add syntax cheatsheet
- Add front matter option to CLI
- Make list item in paragraph subclassable
@chrisjsewell chrisjsewell merged commit f879ba5 into master Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant