0.0.18 • Published 9 months ago

mdxml-tools v0.0.18

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

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

9 months ago

0.0.14

9 months ago

0.0.15

9 months ago

0.0.9

10 months ago

0.0.16

9 months ago

0.0.8

10 months ago

0.0.17

9 months ago

0.0.18

9 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago