marktopreader.max
v1.0.2
Published
mtreader is needed to parse .mt files. The Marktop format is the same as the Markdown, only the other way around
Downloads
2
Readme
MarkTop reader
mtreader is needed to parse .mt files. The Marktop format is the same as the Markdown, only the other way around
Example of .md file:
H1 This is header
hr
H2 This is header 2
hr
H2 This is header 3
br
+ this is list
br
// this is a paragraph
br
ri teg <i>
rb teg <b>
u teg <u>
** strong teg
Example of .js file with mtreader:
const mtr = require('marktopreader.max');
const file = 'readme.mt';
const app = document.getElementById('app');
mtr.ParseMarktopFileToHtml(file, app);