Added support for syntax highlighting and table rendering in package readmes and profile pages.
To apply syntax highlighting to preformatted text, prefix the first line with syntax:XXXX where XXXX is the name of the syntax to use. Common syntaxes include: axon, csharp, css, fantom, html, java, javascript, and xml.
exampleFunc :
(a, b) => do
return a + b
end
To render a HTML table, use preformatted text with table: as the first line. Table parsing is simple, but expressive. The first line to start with a - character defines where the column boundaries are. All lines before are table headers, all lines after are table data.
|
Full Name |
First Name |
Last Name |
|---|---|---|
|
John Smith |
John |
Smith |
|
Fred Bloggs |
Fred |
Bloggs |
|
Bruce Wayne |
Bruce |
Wayne |
- Packages may be linked to with fandoc links in the format
[AxonT]`pkg:afAxont`.
Product purchase buttons may be rendered with fandoc links in the format [Buy My Product] `buyProduct:XXXX-XXXX` where XXXX is the product ID.