| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!DOCTYPE html
- SYSTEM "about:legacy-compat">
- <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><meta name="DC.Type" content="topic"><meta name="description" content="DITA-OT provides preview support for the MDITA and HDITA authoring formats proposed for Lightweight DITA, or “LwDITA”. These proposed formats are alternative representations of DITA content in Markdown or HTML."><meta name="DC.Relation" scheme="URI" content="../topics/alternative-input-formats.html"><meta name="DC.Relation" scheme="URI" content="../topics/markdown-input.html"><meta name="DC.Relation" scheme="URI" content="../topics/markdown-dita-syntax-reference.html"><meta name="DC.Format" content="HTML5"><meta name="DC.Identifier" content="lwdita-input"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Preview support for Lightweight DITA</title></head><body id="lwdita-input"><header role="banner"><div class="header">
- <p>DITA Open Toolkit</p>
- <hr>
- </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.0</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/alternative-input-formats.html">Authoring formats</a><ul><li><a href="../topics/markdown-input.html">Markdown content</a></li><li class="active"><a href="../topics/lwdita-input.html">Lightweight DITA</a></li><li><a href="../topics/markdown-dita-syntax-reference.html">Markdown DITA syntax</a></li></ul></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../parameters/index.html">Setting parameters</a></li><li><a href="../topics/extending-the-ot.html">Customizing DITA-OT</a></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
- <h1 class="title topictitle1" id="ariaid-title1">Preview support for Lightweight DITA</h1>
-
-
- <div class="body"><p class="shortdesc">DITA-OT provides preview support for the MDITA and HDITA authoring formats proposed for
- <a class="xref" href="http://docs.oasis-open.org/dita/LwDITA/v1.0/cnprd01/LwDITA-v1.0-cnprd01.pdf" target="_blank">Lightweight DITA</a>, or “<dfn class="term">LwDITA</dfn>”. These proposed formats are alternative representations of DITA
- content in Markdown or HTML.</p>
- <section class="section"><h2 class="title sectiontitle">MDITA</h2>
-
- <p class="p">MDITA is the LwDITA authoring format based on Markdown.</p>
- <p class="p">Recent proposals for LwDITA include two profiles for authoring MDITA topics:</p>
- <ul class="ul">
- <li class="li">The “<dfn class="term">Core profile</dfn>” is based on <a class="xref" href="https://github.github.com/gfm/" target="_blank">GitHub-Flavored Markdown</a> and includes elements that are common
- to many other Markdown implementations.</li>
- <li class="li">The “<dfn class="term">Extended profile</dfn>” borrows additional features from other flavors of Markdown to represent
- a broader range of DITA content with existing plain-text syntax conventions.</li>
- </ul>
- <p class="p">The Markdown DITA parser included in the <code class="ph codeph">org.lwdita</code> plug-in provides preliminary support for
- these profiles and additional Markdown constructs as described in the syntax reference.</p>
- <p class="p">The <code class="keyword markupname xmlatt">@format</code> attribute can be set to <code class="ph codeph">mdita</code> to apply LwDITA-specific processing
- to Markdown topics:</p>
- <div class="p">
- <pre class="pre codeblock"><code><map>
- <topicref href="mdita-topic.md" <strong class="ph b">format="mdita"</strong>/>
- </map></code></pre>
- </div>
- <p class="p">In this case, the first paragraph in the topic will be treated as a short description, for example, and
- additional metadata can be specified for the topic via a YAML front matter block.</p>
- <div class="note note note_note"><span class="note__title">Note:</span> Setting the <code class="keyword markupname xmlatt">@format</code> attribute to <code class="ph codeph">mdita</code> triggers stricter parsing than the
- more lenient document parsing approach that is applied to <code class="ph codeph">markdown</code> documents.</div>
- </section>
- <section class="section"><h2 class="title sectiontitle">HDITA</h2>
-
- <p class="p">HDITA is the LwDITA authoring format based on HTML5, which is intended to support structured content authoring
- with tools designed for HTML authoring. HDITA also uses custom data attributes to provide interoperability with
- DITA.</p>
- <p class="p">The HDITA parser included in the <code class="ph codeph">org.lwdita</code> plug-in provides preliminary support for these
- constructs.</p>
- <p class="p">The <code class="keyword markupname xmlatt">@format</code> attribute can be set to <code class="ph codeph">hdita</code> to apply LwDITA-specific processing
- to HTML topics:</p>
- <div class="p">
- <pre class="pre codeblock"><code><map>
- <topicref href="hdita-topic.html" <strong class="ph b">format="hdita"</strong>/>
- </map></code></pre>
- </div>
- </section>
- <div class="note attention note_attention"><span class="note__title">Attention:</span> Since
- <a class="xref" href="http://docs.oasis-open.org/dita/LwDITA/v1.0/cnprd01/LwDITA-v1.0-cnprd01.pdf" target="_blank">Lightweight DITA</a> has not yet been released as a formal specification, the implementation for MDITA and
- HDITA authoring formats is subject to change. Future versions of DITA Open Toolkit will be updated as LwDITA
- evolves.</div>
- </div>
- <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/alternative-input-formats.html" title="As of release 3.0, DITA-OT supports several alternative input formats in addition to standard DITA XML, including Markdown and the proposed MDITA and HDITA authoring formats currently in development for Lightweight DITA.">Alternative authoring formats</a></div></div><div class="linklist relinfo"><strong>Related information</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../topics/markdown-input.html" title="Markdown is a lightweight markup language that allows you to write using an easy-to-read plain text format and convert to structurally valid markup as necessary.">Markdown content</a></li><li class="linklist"><a class="link" href="../topics/markdown-dita-syntax-reference.html" title="Markdown DITA uses CommonMark as the underlying markup language.">Markdown DITA syntax reference</a></li></ul></div></nav></article></main></body></html>
|