All Projects → jelovirt → dita-ot-markdown

jelovirt / dita-ot-markdown

Licence: Apache-2.0 license
Markdown parser and output for DITA-OT

Programming Languages

XSLT
1337 projects
java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to dita-ot-markdown

com.elovirta.ooxml
DITA to Word plug-in
Stars: ✭ 19 (-51.28%)
Mutual labels:  dita, dita-ot
org.lwdita
LwDITA parser for DITA-OT
Stars: ✭ 21 (-46.15%)
Mutual labels:  dita, dita-ot
jekyll-commonmark
CommonMark generator for Jekyll
Stars: ✭ 28 (-28.21%)
Mutual labels:  markdown-converter
Cwac Anddown
CWAC AndDown: Markdown Utility Library
Stars: ✭ 230 (+489.74%)
Mutual labels:  markdown-converter
Swiftymarkdown
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
Stars: ✭ 1,274 (+3166.67%)
Mutual labels:  markdown-converter
Md2man
📚 Converts markdown into UNIX manual pages
Stars: ✭ 337 (+764.1%)
Mutual labels:  markdown-converter
Mdtool
A tool which can process markdown to HTML
Stars: ✭ 136 (+248.72%)
Mutual labels:  markdown-converter
slackify-markdown
Convert markdown into Slack-specific markdown
Stars: ✭ 80 (+105.13%)
Mutual labels:  markdown-converter
Yarle
Yarle - The ultimate converter of Evernote notes to Markdown
Stars: ✭ 170 (+335.9%)
Mutual labels:  markdown-converter
Macdown
Open source Markdown editor for macOS.
Stars: ✭ 8,855 (+22605.13%)
Mutual labels:  markdown-converter
Academic Pandoc Template
Write beautiful academic texts with the distraction-free Pandoc Markdown and typademic.
Stars: ✭ 60 (+53.85%)
Mutual labels:  markdown-converter
Mditor
📝 [ M ] arkdown + E [ ditor ] = Mditor
Stars: ✭ 523 (+1241.03%)
Mutual labels:  markdown-converter
Markdownify
The HTML to Markdown converter for PHP
Stars: ✭ 167 (+328.21%)
Mutual labels:  markdown-converter
Upndown
HTML to Markdown javascript converter
Stars: ✭ 278 (+612.82%)
Mutual labels:  markdown-converter
Panwriter
Markdown editor with pandoc integration and paginated preview.
Stars: ✭ 242 (+520.51%)
Mutual labels:  markdown-converter
literator
📝 Generate literate-style markdown docs from your sources
Stars: ✭ 55 (+41.03%)
Mutual labels:  markdown-converter
Github Wiki Sidebar
Github Wiki sidebar menu builder with multi-level, ordering and exclusion list support
Stars: ✭ 117 (+200%)
Mutual labels:  markdown-converter
R2D2BC
https://d-i-t-a.github.io/R2D2BC/
Stars: ✭ 27 (-30.77%)
Mutual labels:  dita
Markdown
A super fast, highly extensible markdown parser for PHP
Stars: ✭ 945 (+2323.08%)
Mutual labels:  markdown-converter
Markdown
📖Clean & Modern MarkDown Generator, 🔌Offline Support and Easy Generation of Markdown ⚡️⚛️ https://github.com/JP1016/Markdown-Electron/releases
Stars: ✭ 170 (+335.9%)
Mutual labels:  markdown-converter

Deprecation Note

This repository has been deprecated and all further development has been moved to https://github.com/jelovirt/com.elovirta.lwdita.


Lightweight DITA for DITA-OT

DITA-OT LwDITA plug-in contains

  • a custom parser for Markdown and HTML to allow using MDITA and HDITA as a source document format,
  • and a transtype to generate Markdown from DITA source.

The Markdown DITA files need to use a subset of Markdown constructs for compatibility with DITA content models.

Usage

Using LwDITA files as input

Markdown DITA or HTML DITA topics can only be used by linking to them in map files.

<map>
  <topicref href="test.md" format="mdita"/>
  <topicref href="test.html" format="hdita"/>
</map>

The format attribute value must be set to mdita or hdita in order to recognize files as Markdown DITA or HTML DITA, respectively; the file extension is not used to recognize format.

See Syntax reference for XML and Markdown DITA correspondence.

Generating Markdown output

The DITA-OT LwDITA plug-in extends the DITA Open Toolkit with additional output formats (transformation types) that can be used to publish DITA content as Markdown.

  • To publish Markdown DITA files, use the markdown transtype.

  • To generate GitHub Flavored Markdown files, use the markdown_github transtype.

  • To publish GitHub Flavored Markdown and generate a SUMMARY.md table of contents file for publication via GitBook, use the markdown_gitbook transtype.

Requirements

DITA-OT 2.2 is required. Earlier versions of DITA-OT do not have the required extension points.

Install

  1. Run the plug-in installation command:

    dita -install https://github.com/jelovirt/dita-ot-markdown/releases/download/1.3.0/com.elovirta.dita.markdown_1.3.0.zip
    

The dita command line tool requires no additional configuration; running DITA-OT using Ant requires adding plug-in contributed JAR files to CLASSPATH with e.g. -lib plugins/com.elovirta.dita.markdown.

Build

To build the DITA-OT Markdown plug-in from source:

  1. Install the DITA-OT distribution JAR file dependencies by running gradle install from your clone of the DITA-OT repository. The required dependencies are installed to a local Maven repository in your home directory under .m2/repository/org/dita-ot/dost/.

  2. Run the Gradle distribution task to generate the plug-in distribution package:

    ./gradlew dist
    

    The distribution ZIP file is generated under build/distributions.

Donating

Support this project and others by @jelovirt via Paypal.

License

DITA-OT LwDITA is licensed for use under the Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].