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 core Footnote and BlockQuote BlockType #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mc738
Copy link
Owner

@mc738 mc738 commented Feb 14, 2024

Add support for footnotes and block quotes.

  • Add LineType.Footnote to Core/Parsing.fs
  • Add LineType.IndentedText to Core/Parsing.fs
  • Add LineType.BlockQuote to Core/Parsing.fs
  • Add BlockToken.Footnote to Core/Parsing.fs
  • Add BlockToken.BlockQuote to Core/Parsing.fs
  • Add tryParseFootnote to Core/Parsing.fs
  • Add tryParseBlockQuote to Core/Parsing.fs
  • Add InlineContent.FootnoteReference to Core/Common.fs
  • Add tests for InlineContent.FootnoteReference
  • Add tests for LineType.Footnote
  • Add tests for LineType.IndentedText
  • Add tests for LineType.BlockQuote

This is an overview of the steps required. However it can grow, for example block quotes should support nested block quotes etc.

This is separate to renderer support.

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

Successfully merging this pull request may close these issues.

1 participant