MarkAPL
MarkAPL is a converter that converts Markdown into valid HTML5. It is written in Dyalog.
Markdown aims to make the process of writing for the web much easier by improving readability and, as a consequence, maintainability.
This is an example on the Wikipedia comparing Markdown with HTML.
With MarkAPL you can either use variables of files or any combination of the two to convert Markdown into HTML5.
Note that the original design of Markdown has proven to be an excellent idea but too limited for widespread use. Therefore extensions were implemented. Over time two approaches have proven to be particularly successful: Markdown Extra and PanDoc.
For several years it seemed that the segmentation of the different implementations would be a problem, but over time the implementations got closer. There is also the CommonMark initiative which aims to standardize Markdown. MarkAPL tries to be compliant with Commonmark within reason.
MarkAPL aims to implement most concepts and also adds a couple of enhancements that might be useful, be it in general or just for APLers.
Today Markdown is used by many of the big names on web. Examples are Git, SourceForge, StackFlow and Trello. Many wikis allow Markdown at least optionally for input.
The following table highlights the features supported in MarkAPL:
Name |
Standard |
Extra |
Pandoc |
MarkAPL |
Abbreviations |
|
|
X |
X |
Automated links |
X |
X |
X |
X |
Blockquotes |
X |
X |
X |
X |
Calling functions |
|
|
|
X |
Code blocks (indented) |
X |
X |
X |
|
Code blocks (fenced) |
|
X |
X |
X |
Definition lists |
X |
X |
X |
|
Footnotes |
X |
X |
X |
X |
Headers |
X |
X |
X |
X |
HTML blocks |
X |
X |
X |
X |
HR |
X |
X |
X |
X |
Images |
X |
X |
X |
X |
Inline markup |
X |
X |
X |
X |
Line breaks (two spaces) |
X |
X |
X |
X |
Line breaks (\) |
|
|
X |
X |
Line breaks (<<br>>) |
|
|
|
X |
Links |
X |
X |
X |
X |
Link references |
|
X |
X |
X |
Lists |
X |
X |
X |
X |
Markdown inside HTML |
|
X |
X |
|
Paragraphs |
X |
X |
X |
X |
Tables |
X |
X |
X |
X |
Table of contents |
|
|
X |
X |
Smart typography |
|
|
X |
X |
Special attributes |
|
X |
X |
X |
Sub TOC |
|
|
|
X |
Note that marking up code blocks by indenting was deliberately not implemented in MarkAPL.
Project Page
For bug reports, future enhancements and a full version history see MarkAPL/ProjectPage
Original author: |
|
Responsible: |
|
Email: |