You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angelo Geels edited this page May 3, 2015
·
2 revisions
Provides document Markdown formatting walkers.
Functions
walkers:html(callback<string, HTMLWalker>, currentChapter = false) Walks along the document, creating HTML tags from the Markdown formatting codes, then for each chapter, calls the callback function with the resulting HTML.
Permissions
This library doesn't require any permissions.
Example
-- export the current chapter to htmlwalkers:html(function(html, walker)
-- now we do something with htmlprint(html)
end, true)