Mediawiki Markdown



See full list on mediawiki.org. Using the Markdown plugin. Then just convert the markdown files to MediaWiki via Pandoc. Or rather using Pandoc through a Sublime Text plugin. The settings for Sublime Text Pandoc by tbfisher (after installation) are under Preferences = Package Settings = Pandoc = Settings - User.

What's Pandoc

According to official site, Pandoc is your swiss-army knify to convert files from one markup format into another.

Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki markup, OPML, Emacs Org-Mode, Txt2Tags, Microsoft Word docx, EPUB, or Haddock markup to

  • HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides.
  • Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML
  • Ebooks: EPUB version 2 or 3, FictionBook2
  • Documentation formats: DocBook, GNU TexInfo, Groff man pages, Haddock markup
  • Page layout formats: InDesign ICML
  • Outline formats: OPML
  • TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides
  • PDF via LaTeX
  • Lightweight markup formats: Markdown, reStructuredText, AsciiDoc, MediaWiki markup, DokuWiki markup, Emacs Org-Mode, Textile
  • Custom formats: custom writers can be written in lua.

Which Wiki Text Syntax Or Markdown To Use? - Stack Overflow

How to Install Pandoc

As for Windows users, download a package installer at pandoc's download page and install on your computer. After that, run pandoc -v in command prompt to verify if it is correctly installed.

NOTE: The default package doesn't support PDF output, additional tool LaTeX is needed. MiKTeX is recommended by official site. However, it does have some issues with Chinese characters exporting. In this case, CTeX Full instead is a better choice.

Mediawiki markdown code

For users of Mac OS X or Linux, refer to offcial site for more information about installation.

How to Convert Document With Pandoc

Mediawiki Markdown
  1. Convert a webpage(html) to docx

  2. Convert a html to markdown

  3. Convert a html to pdf

  4. Convert a markdown to mediawiki

Markdown

How to Export Document with Chinese Characters to PDF

Mediawiki Markdown

Mediawiki Markdown Editor

Markdown

Mediawiki Markdown Syntax

If your task is all about documents with English characters only, you can skip this section. This part talks about problems of exporting documents with Chinese characters to PDF.

  1. Install CTeX Full instead of MiKTeX

  2. Define template

    Export Pandoc standard template using the following command:

    Open the template template.tex and find phrase % if luatex or xelatex, add the code below after this phrase.

    Note:
    In my version of Pandoc(1.13.2), below is the default code after phrase % if luatex or xelatex.

    Errors occur if just add code after Line#20. Finally, it turns out to be OK to add the code at Line#27.

  3. Export documents

    Export documents to PDf using the following command:

    template.tex is just the template modified in stage 2.

Thanks to this blog for solving the problem.

M:Help:Magic Words#Template Modifiers

According to another blog, it's also possible to download pm-template.latex and use this template to export documents to PDF. For this template, the only thing needs to be noticed is, replace LiHei Pro to a Chinese font you have installed in your machine.

Pandoc Has A Web Tool For This.

Pandoc's Markdown

Try Pandoc, A Universal Document Converter:

Pandoc's author is really proud of its extension of markdown, or he wouldn't put 2/3 of the document talking about it.

How to Produce Slide Shows with Pandoc

It's fantastic to find that simple and concise slides can be made by Pandoc. One could keep collecting knowledges while occasionly transform them to slides to share with other people, without put so much time considering how to write PPT.





Comments are closed.