Message Boards Message Boards

Parsing markdown files

Posted 4 years ago

Symbolic Markdown Expression Graph

POSTED BY: Faizon Zaman
8 Replies

Minor FYI — I've refactored my parsing strategy and am working through updating tests. I've refactored about 100 tests so far, with ~600 remaining.

Most of the paclet component tests have been updated, the rest are for CommonMark v0.30.

I don't have a timeline as the updating is a bit tedious, but I will write a new post and link here once complete.

POSTED BY: Faizon Zaman

I much more productized effort of converting Markdown to Mathematica is described in "Markdown::Grammar".

(Yes, the statement above is both obnoxious and self-promoting...)

POSTED BY: Anton Antonov

This has potential, Faizon. I think it can really fly as a conversion/migration-tool plug-in for markdown editors with an active community, such as Obsidian.md and others. Simple single-command-set of hotkeys could manipulate note formats contained there.

POSTED BY: Cedrus Libnani

Interesting work! Can you post the link to MarkdownParse repository you mention? Is it this one: https://github.com/dishmint/Markdown2WL ?

POSTED BY: Anton Antonov

Thanks Anton! Yeah, that's the one.

POSTED BY: Faizon Zaman

I think you should update your notebook to include the line:

Import["https://raw.githubusercontent.com/dishmint/Markdown2WL/master/Parser/MarkdownParse.wl"]

Or something similar...

POSTED BY: Anton Antonov

Ah, the package file, not the repository, I understand now. Sure I'll add that asaic, having some trouble with cloud nbs atm.

POSTED BY: Faizon Zaman

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract