All Questions
33
questions
0
votes
1
answer
43
views
pandoc/Markdown: how to remove trailing commas from list template?
Suppose I have YAML list (or other supported format) that I want to print as a comma-separated list in a markdown format.
data.yml:
---
items:
- item1
- item2
- item3
---
template....
0
votes
1
answer
221
views
Render markdown with math wrapped in escaped parenthesis / brackets to PDF?
Background / use case: https://genai.stackexchange.com/questions/386/how-does-chatgpt-render-math-in-markdown-output
The \( ... \) syntax in markdown corresponds to LaTex math inline mode, and the \[ ....
0
votes
1
answer
551
views
I'm trying to convert a normal Markdown document to a PDF using pandoc. I'm getting LaTeX errors
Here is the entire markdown:
---
title: Calculus hw
author: Jewel
date: April 21, 2023
---
> Question 1
$$
f(x) =
\begin{cases}
Asin(x)+Bcos(x) & \text{if } x < 0 \\
x^2+1 & \text{if } ...
1
vote
2
answers
872
views
Disable auto numbering in pandoc markdown
I have Markdown content that looks like this
(A) some text
(A) some more text
(A) and so on
I'm using pandoc to render this to PDF (pandoc -o test.pdf test.md). This produces content that turns ...
2
votes
3
answers
1k
views
Two columns pdf from markdown with pandoc and lua script
I want to render a two columns pdf document using markdown fenced divs. The minimal example is this :
:::::::::::::: {.columns data-latex=""}
::: {.column width="40%" data-latex=&...
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 ...
0
votes
1
answer
501
views
How to create a minimalist HTML5 file from Markdown?
I have a simple Markdown file which I want to convert to a minimal HTML5 compliant file.
I tried:
pandoc -f markdown -t html5 .\description.md -o description.html → this generates proper HTML content,...
0
votes
0
answers
270
views
Pandoc in Typora procceses markdown with file that leads to error when run from PowerShell
I have a markdown file (call it testfile.md) that I have created in Typora. When I export it to PDF from Typora it calls on Pandoc behind the scenes and the file is successfully created. However, when ...
2
votes
2
answers
1k
views
Pandoc: Using standardized unicode Emoji
I want to use flag: Japan emoticon with unicode U+1F1EF U+1F1F5 as defined in the standard Full Emoji List, v12.0, inside markdown (rendered with Pandoc).
Given that this Emoticon is not defined ...
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/*....
2
votes
1
answer
500
views
Convert a markdown file to a series of HTML files
Say I have a manual for a computer program written in markdown/org-mode format. The manual is written as a book with chapters, sections, and subsections.
I know Pandoc can convert this Markdown file ...
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 :...
1
vote
0
answers
1k
views
Convert *.md file to *.docx by right click using Pandoc
I would like to be able to easily generate *.docx files from *.md ones by just right-clicking on the file and selecting "Convert to docx". I used to do this manually by using Pandoc in the Windows ...
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](...
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 ...
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 ...
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
...
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
...
0
votes
3
answers
2k
views
Sublime 3 Markdown Build System via Pandoc
I'm trying to write a Sublime-Text-3 build system that will run Pandoc to convert my markdown file to html, and then open the html in my browser. I keep getting a "No Build System" error, and I can't ...
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 ...
2
votes
1
answer
343
views
Format to generate .tex, .pdf and .md from?
I've used Pandoc to generate .md, .tex, .pdf from .tex and .xhtml files.
In tex I am using BibTeX and in ODT (save-as .xhtml) I am using Zotero to insert my citations.
Currently neither .tex nor ....
1
vote
1
answer
2k
views
Pandoc not converting Markdown list to LaTeX properly
I cannot seem to get Pandoc to convert my Markdown documents to PDF (via LaTeX) properly. The problem seems to come from how I am formatting my lists. If I use the following command pandoc -i test.md -...
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 ...
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 ...
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,...
2
votes
2
answers
5k
views
Include files in Markdown document with Pandoc (except Haskell)
I use Pandoc to create Reveal.js presentations from Markdown documents, having switched to it from Google Slides. From the beginning I decided that presentations for different events and lectures are ...
1
vote
2
answers
2k
views
Image Identifiers and List of Images with pandoc?
I have a text written in markdown (with pandoc extensions) with several image-references. Now I need to build a table or list with these images with a reference to the page they appear on. Just ...
0
votes
1
answer
737
views
Compiling markdown Simplenotes with pandoc.vim and simplenote.vim
I would like to use pandoc.vim to compile markdown Simplenotes that I edit in Vim using simplenote.vim. To use pandoc.vim I set my Simplenote file type to pandoc with let g:SimplenoteFiletype = "...
1
vote
1
answer
1k
views
using Jekyll to generate HTML-based slideshow presentations from Markdown source?
I want to create slick HTML-based slideshows to use for giving presentations. I've found a couple that I like, such as scrolldeck.js.
Basically it's a static site within a folder, i.e. a single ...
-1
votes
1
answer
714
views
Utility to automatically convert markdown content to HTML on-the-fly within an HTML page? [closed]
Is there a utility that will automatically convert my Markdown content to HTML on-the-fly within an HTML page?
So that I could easily embed markdown content within an HTML page like so?
<BODY&...