0.0.18 • Published 3 months ago

mdxml-tools v0.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
3 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

3 months ago

0.0.11

3 months ago

0.0.12

3 months ago

0.0.13

3 months ago

0.0.14

3 months ago

0.0.15

3 months ago

0.0.9

3 months ago

0.0.16

3 months ago

0.0.8

3 months ago

0.0.17

3 months ago

0.0.18

3 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago