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

Adding a concept of "markdown document" (like XML DOM) and document processors #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trygvis
Copy link

@trygvis trygvis commented Jul 22, 2015

This is mainly a suggestion on how one can implement a document model for markdown. This is useful for very custom HTML generation, implementing manipulation of the markdown document (like adding a TOC) or as a basis for adding plugins.

 * The nodes have attributes to facilitate sending data between processors.
o Adding document processors that can work on and manipulate the DOM.
o Adding three document processors:
 * HTML processor that creates a HTML document.
 * Markdown processor that creates a new Markdown document.
 * TOC processor that reads the current document and injects a table of contents at the start of the document.
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