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

Investigate alternate Markdown parsers? #32

Closed
arkie opened this issue Oct 26, 2021 · 2 comments · Fixed by #36
Closed

Investigate alternate Markdown parsers? #32

arkie opened this issue Oct 26, 2021 · 2 comments · Fixed by #36

Comments

@arkie
Copy link
Contributor

arkie commented Oct 26, 2021

Missing features:

Requirements:

  • General Markdown support (potentially including currently supported but more exotic features, e.g. reference links)
  • Rendering to an iOS compatible view (i.e. not requiring an embedded HTML view)
@pramjan
Copy link

pramjan commented Oct 27, 2021

Can you see if we could make use of the approach taken by FS Notes for Markdown rendering. They have a very complete markdown rendering, with support for tables and many exotic features (mathjax, mermaid, etc), but their zettelkasten support is bad (they have note=linking but it doesn't tell you what the links are!)

Hopefully its not an embedded HTML view, like you said (I'm assuming this would impact the app's performance).

Thanks for opening this issue!

@arkie
Copy link
Contributor Author

arkie commented Oct 27, 2021

It does look like at least the editing view is built on top of NSAttributedStrings, and the base parsing is through https://github.com/KristopherGBaker/libcmark_gfm.git, so I'll take a deeper look and see if there's a possibility to upgrade the renderer 👍

@arkie arkie mentioned this issue Nov 15, 2022
Merged
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 a pull request may close this issue.

2 participants