0.0.18 • Published 4 months ago

mdxml-tools v0.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

MDXML Tools

This repo defines MDXML and contains tools to validate and render it.

Convert page.xml to build/onepage/page.html

npm run test-render-site

Definition of MDXML:

XML version of markdown, but without the rigorous schema, so it's easier to work with.

MarkdownMDXML
#H1
##H2
some text<para>some text</para>
* list item<li>list item</li>
'code'<code>code</code>
*bold*<strong>bold</strong>
*italics*<emphasis>italics</emphasis>
[text](href)<link dest='href'>text</link>
''' lang '''<codeblock language="lang">some code</codeblock>

Additions over HTML

  • <codeblock>
  • <para>
  • <document>
  • <title>
  • <metadata> <title/> <desc/> <screenshot/>
  • <youtube>
  • <supademo>
  • <card> <title/><body/>
  • <link target='url'>text</link>
  • <include src="path"/>
  • <youtube id="long-id"/>

open questions

We focus on the semantics. How do we handle images? there are so many different ways they can be used. photos, diagrams,

How are links defined?

0.0.10

4 months ago

0.0.11

4 months ago

0.0.12

4 months ago

0.0.13

4 months ago

0.0.14

4 months ago

0.0.15

4 months ago

0.0.9

4 months ago

0.0.16

4 months ago

0.0.8

4 months ago

0.0.17

4 months ago

0.0.18

4 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago