All Questions
33
questions
50
votes
3
answers
59k
views
correctly sizing PNG images in markdown with pandoc for html/pdf/docx
I am trying to use markdown with pandoc to convert a single document into html, pdf, and docx. It's an extremely simple document containing only math-less text and a few images. The images are in ...
11
votes
2
answers
5k
views
Rendering PDF from Markdown file with literal emoji characters using Pandoc
I'd like to convert markdown text like:
This is a smile 😀
To a PDF with the emoji on it. To be clear, I want to be able to insert the emoji character itself in the source text, not something like :...
9
votes
3
answers
6k
views
Word count for markdown?
Is there a way to get a word count of natural language words in Markdown (or better, Pandoc Markdown), via the command line? It's possible to just use wc to get a very rough estimate, but wc is naive,...
8
votes
1
answer
3k
views
Make pandoc ignore css style class
I'm trying to convert an HTML file to Markdown using Pandoc, but I'm having a hard time finding the correct options.
I would like convert the entire HTML file to the simplest Markdown possible. That ...
6
votes
2
answers
3k
views
Why would RTF files created with Pandoc be opened as plain text?
I'm experimenting with Pandoc, in particular the markdown to RTF function. When I run the converter, the resulting RTF is opened in both Word and OpenOffice as plain text (where the text looks like ...
6
votes
1
answer
5k
views
Compile PDF book from multiple Markdown files
I have a folder structure like this, with recipe .md files in directories according to theme:
Recipes
|- Mains
| |- recipe1.md
| |- recipe2.md
|- Desserts
|- recipe3.md
...
4
votes
2
answers
1k
views
Pandoc: Duplicate footnotes - multiple files - same name
I have a folder structure like the following:
chapters/
01-chapter.md
02-chapter.md
03-chapter.md
format.sh
parse.sh
parse.sh
pandoc -t html5+smart -so dist/book.html --html-q-tags chapters/*....
4
votes
1
answer
669
views
How do I set pandoc as a 'compiler' for markdown files in SciTE?
I've begun writing stuff in markdown lately, and edit my files in SciTE. I work in Windows, so this means I'm simultaneously running a Windows command prompt to generate output files at various stages ...
4
votes
0
answers
838
views
Creating Text Style with Colors using Pandoc to Docx Converter
I am creating a simple Word document (*.docx) using Pandoc. My input text file is fairly straight forward. I would like to create text with Red/Yellow/Green highlight. I am aware of creating a custom ...
4
votes
1
answer
2k
views
How do I use Pandoc's extensions correctly?
This is in my .md document:
![Step 1](Slide1.png){ width=100px }
![Step 2](Slide2.png){ width=100px }
![Step 3](Slide3.png){ width=100px }
![Step 4](Slide4.png){ width=100px }
![Step 5](...
3
votes
2
answers
5k
views
When converting txt to docx using pandoc, how to specify default paragraph style?
I am trying to convert a txt file (markdown) to docx using pandoc with a special MS Word template. I'm doing it this way:
pandoc -s --reference-docx=/path/to/my/template.dotx -o outfield.docx file.md
...
3
votes
1
answer
1k
views
pandoc - markdown to man page tables not formatted (on msys2)
I am trying to use pandoc (if someone has a better conversion program I am all ears, please not ruby-dependent) to convert markdown files into manpages. It works fine until I go to do a doc with a ...
3
votes
1
answer
1k
views
Pandoc options to convert LaTeX flavored Markdown to HTML
The aim is to convert a Markdown file (file.md) to a html file (file.html).
The Markdown file contains formulas specified in LaTeX specified between two dollar ($) signs.
Example:
The resulting ...
3
votes
1
answer
426
views
How to use Pandoc with double-byte characters?
I am trying to convert a Markdown document to PDF. The following works using pandoc test.md -o test.pdf:
# Test
Testing
But this
# Test
日本語
gives me an error:
! Package inputenc Error: Unicode ...
3
votes
0
answers
1k
views
Writing corporate documentation in Markdown and pandoc [closed]
Background
I have had a few friends that turned me on to markdown and pandoc for writing documentation. At my current job, we use Microsoft Word for writing unstructured, one-off howto documents for ...