MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

  • pandoc

pandoc

Pandoc is a command-line tool for converting from one markup format to another.

% Pandoc User's Guide
% John MacFarlane
% July 17, 2016

#Hello

AAAAA

##World

BBBBB
  • pandoc teste.md --from markdown --to odt -o teste.odt
  • calligrawords teste.odt &

  • pandoc teste.md --from markdown --to docx -o teste.docx
  • calligrawords teste.docx &

  • wget https://github.com/jgm/pandoc/releases/download/1.17.2/pandoc-1.17.2-1-amd64.deb

  • dpkg -r pandoc
  • dpkg -r pandoc-data
  • dpkg -i pandoc pandoc-1.17.2-1-amd64.deb

Slack64

  • deb2tgz pandoc-1.17.2-1-amd64.deb
  • installpkg pandoc-1.17.2-1-amd64.tgz
  • pandoc -v

Windows

  • https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-windows-x86_64.msi

Markdown

  • https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

% title
% author(s) (separated by semicolons)
% date
# H1
## H2
### H3
* Unordered list can use asterisks
- Or minuses
+ Or pluses

[I'm an inline-style link](https://www.google.com)
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")
Inline-style: 
![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")

![caption](file.png){height=17cm}

```python
s = "Python syntax highlighting"
print s
```

```bash
# comment
VARX = "Python syntax highlighting"
echo $VARX
```


Horizontal Rule
Three or more...

---

Emphasis, aka italics, with *asterisks* or _underscores_.

Strong emphasis, aka bold, with **asterisks** or __underscores__.

Combined emphasis with **asterisks and _underscores_**.

Strikethrough uses two tildes. ~~Scratch this.~~

$ inside bold markers must be escaped. **\$bold** .

To produce a custom reference.docx, first get a copy of the default reference.docx: pandoc --print-default-data-file reference.docx > custom-reference.docx. Then open custom-reference.docx in Word, modify the styles as you wish, and save the file. For best results, do not make changes to this file other than modifying the styles used by pandoc: [paragraph] Normal, Body Text, First Paragraph, Compact, Title, Subtitle, Author, Date, Abstract, Bibliography, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Heading 7, Heading 8, Heading 9, Block Text, Footnote Text, Definition Term, Definition, Caption, Table Caption, Image Caption, Figure, Captioned Figure, TOC Heading; [character] Default Paragraph Font, Body Text Char, Verbatim Char, Footnote Reference, Hyperlink; [table] Table.

pandoc --print-default-data-file reference.docx > ref.docx
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01