Gastove / doctopus

An un-opinionated framework for Docs on the Webs
Eclipse Public License 1.0
7 stars 2 forks source link

Implement a `markdown` substitution/parser #38

Open Gastove opened 9 years ago

Gastove commented 9 years ago

So, I'm wiring up the ability to splice things in to the :html-command string of a tentacle. @gmcquillan and I built all the code needed to a) search a directory structure and b) find/parse all the Markdown in it to HTML. I think these two flavors would taste great together.

I'd like to propose a :htlm-command "$MARKDOWN" substitution that would allow people to simply drop .md files in to arbitrary dirs in a file structure and parse them right back out. This should even support hyperlinks, so long as people write them as relative links (i.e. [my link text](foo/bar/baz)).

jarofghosts commented 9 years ago

this seems really nice. we also discussed possibly having a "Doctopus-flavored Markdown" variant that would allow for some smarter inter-linking between tentacles, but that should totally be implemented later if at all.