Questions tagged [markdown]

A plain text markup language for conversion to HTML, LaTeX and other formats.

Filter by
Sorted by
Tagged with
0 votes
2 answers
59 views

Pandoc PDF method for two-column layout in bibliography list section

I am seeking a method to format a document in two columns, including both the body and the bibliography reference list at the end. My current workflow uses markdown columns within the body correctly, ...
t3dr's user avatar
  • 23
0 votes
0 answers
36 views

How to use backticks exactly like in markdown

For processing documents with a lot of program code and code fragments, I would like to use backticks for inline program code. So far I use the suggestions from this answer (which already declutters a ...
false's user avatar
  • 227
0 votes
1 answer
130 views

Markdown using LaTeX: Quotation marks in PyCharm vs. Github

I'm used to typing typographically correct English quotation marks as follows: ``text goes here" In usual LaTeX documents this will work, no questions asked. When I use Markdown in Jupyter ...
TiMauzi's user avatar
  • 831
1 vote
1 answer
80 views

How do I map markdown headings onto LaTeX headings?

When I run my markdown file through Pandoc, this line... # First Book: The Person becomes... \section{First Book: The Person}\label{first-book-the-person}} What I want is... \part{First Book: The ...
user1889034's user avatar
0 votes
1 answer
124 views

Reference citation in latex block in pandoc

In my markdown document I have a complex latex table with a caption, in which I would like to add a reference. The table can be seen below... \begin{table}[ht] \captionof{table}{Some complex table \...
thehayro's user avatar
  • 103
2 votes
1 answer
104 views

How to replace \begin{markdown}...\end{markdown} with \md{...}?

I am trying to replace the \begin{markdown}...\end{markdown} idiom with \markdown{...} to save some keystrokes, but I get a "runaway argument" error and No PDF. Here is a MWE: \documentclass{...
Toivo Säwén's user avatar
0 votes
0 answers
162 views

Markdown, Pandoc,LaTeX and admonitions

I'm writing manuals for our programs using Markdown and serving with MKDocs, but I would also like to offer the manuals as a downloadable PDFs. Pandoc and the Eisvogel template go a long way, but as ...
Exxoff's user avatar
  • 1
1 vote
1 answer
211 views

Missing chapter numbering in pandoc

Setup This question regards the following workflow: markdown file (input) -> pandoc -> PDF (output) Pandoc version: $ pandoc --version pandoc 2.9.2.1 Compiled with pandoc-types 1.20, texmath 0....
Angelos Vassiliou's user avatar
1 vote
2 answers
244 views

Markdown + pandoc + beamer, how to set the aspect ratio?

I'm using the command pandoc -t beamer in.md -o out.pdf to generate slides from a markdown file. It seems the default aspect ratio is 4:3. How do I set it to 16:9?
FSainas's user avatar
  • 31
0 votes
1 answer
386 views

Pandoc - Citations don't link to the reference [closed]

I am using Markdown to write the text and Pandoc to convert that text to a PDF. My problem is that the citations are correctly being generated in the PDF (eg. [@somekey] is converted to [1]) but they ...
Patryk's user avatar
  • 31
2 votes
1 answer
433 views

How to convert a publication written in Latex to markdown?

I'm trying to convert a Latex file to a markdown format with pandoc 3.1 but the resulting markdown file doesn't generate the title nor the references properly. I'm kind of at my wits end here as ...
user290664's user avatar
0 votes
0 answers
433 views

Markdown + Pandoc + Template - PDF

I am currently doing a thesis, so I have to add various things from university (logo, ..). The following code, I try to add a logo on my titlepage, I use the template eisvogel (https://github.com/...
Shenladen's user avatar
4 votes
1 answer
157 views

How to make the markdown package work with LuaLaTeX?

I want to reuse some markdown snippets in my LaTeX document using the markdown package. I follow the documentation and create main.tex: \documentclass{article} \usepackage{markdown} \begin{document} ...
homocomputeris's user avatar
1 vote
0 answers
67 views

How do I show math block inside list in github readme? [closed]

I tried this: 1. Setup 1. item 1: ```math \left( \{g^{s^k}\}_{k\in[d]}, \{g_l^{l_i(s)}, g_r^{r_i(s)}, g_o^{o_i(s)}\}_{i\in\{0,...,n\}}, \\ \{g_l^{α_{l}l_i(s)}, ...
mdtex's user avatar
  • 11
0 votes
0 answers
306 views

Using the VSCode Markdown Renderer with Pandoc

I am typing up some homework assignments in markdown using both markdown formatting and LaTex for math typesetting in VSCode. I now want to convert the markdown to PDF for review. VSCode renders ...
Imran Q's user avatar
  • 101
0 votes
1 answer
226 views

How to put footnotes (endtotes?) at the end of the chapter

This comes as a sequel to my previous question. I'm writing an essay in Markdown. The idea is to use footnotes and list them at the end of the chapter. Right now they show up on the bottom on the page ...
javipas's user avatar
  • 133
1 vote
1 answer
76 views

markdown and enumitem: \renewlist leads to error of undefined label

Consider the following MWE: \documentclass{article} \usepackage{enumitem} \renewlist{itemize}{itemize}{10} \usepackage{markdown} \begin{document} \begin{markdown} - ... - ... \end{markdown} \end{...
Jinwen's user avatar
  • 7,818
0 votes
1 answer
180 views

Hyperlinks with underscores in markdown Overleaf

I am using markdown from within Overleaf and would like to have hyperlinks written in markdown [text](url) to be displayed as hyperref-hyperlink similar to \href{url}{text}command. I followed the ...
Sergei's user avatar
  • 1
0 votes
0 answers
108 views

Convert quote environment to markdown blockquote using pandoc

I am making a ebook and some quotes have more than one paragraph \begin{quote} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis malesuada quis massa a fringilla. Vivamus risus mi, tempus ...
Gabriel Felipe Silva's user avatar
0 votes
0 answers
199 views

Undefined Control Sequence during compiling markdown to PDF with Pandoc: "l. 55 \hl"

I don't know what changed, yesterday this setup was working. I use the Obsidian pandoc plugin to convert markdown to PDF, and a lua-filter to convert ==highlighting== to \hl{highlighting}. These are ...
ReaderGuy42's user avatar
1 vote
1 answer
287 views

pandoc template $if$ statement for fenced code snippets in markdown [closed]

I am wondering if it is possible to do in a latex.template for Pandoc: \begin{document} $if(fencedcode)$ \begin{lstlisting} $content within fenced code$ \end{lstlisting} $endif$ \end{document} ...
Louis.vgn's user avatar
  • 193
0 votes
1 answer
361 views

Markdown package in combination with babel produces errors

I have a minimal latex file, using the markdown as well as the babel package: \documentclass{book} \usepackage{markdown} \usepackage[ngerman]{babel} \markdownSetup{pipeTables,tableCaptions} \begin{...
Henry's user avatar
  • 3
0 votes
0 answers
89 views

Is there a way to convert TeX to Markdown with SVGs for equations and PGF/TikZ?

I'm building a static blog with Jekyll and I've got some TeX documents which I'd like to convert to Markdown. I tried using pandoc but most of the inline equations (especially those with aligned ...
Jiewei Xiong's user avatar
0 votes
0 answers
42 views

Combining frame and markdown in a newenvironment

I would like to combine the markdown and Beamer frame environments. There is a nice tutorial for how to combine Beamer with the markdown package, but I would like to have method which works by opting-...
Frankie Robertson's user avatar
1 vote
1 answer
549 views

Is there a way to use latex packages in markdown file?

I'm trying to use the 'actuarialangle' code but it doesn't work in markdown file, it just works when i use Rmarkdown file... --- title: "Using more LaTeX packages" output: pdf_document: ...
João G's user avatar
  • 11
1 vote
0 answers
455 views

How to make vertically centered title in markdown

I have this yaml header in markdown file: --- documentclass: scrartcl title: Title author: Author geometry: "left=2cm,right=2cm,top=2cm,bottom=2cm" output: pdf_document lang: cs fontfamily: ...
T0maas's user avatar
  • 123
0 votes
0 answers
100 views

Set maximum width of table by renewing commands

I am currently using a template that looks like this: % ------------------------------------------------------- % Things for styling tables % ------------------------------------------------------- \...
Henrik's user avatar
  • 101
2 votes
2 answers
510 views

markdown in LaTeX causes compiling issue

A generated lua file for embedding markdown cannot be found during build process. Hello I want to integrate a markdown file in my latex file. Firstly, I tried to run an example for it. However, the ...
Reactionic's user avatar
0 votes
0 answers
157 views

Using custom Typora themes with pandoc

Is it possible to import custom Typora themes into pandoc? We are using several custom themes which change the look and feel of the rendered Markdown code, but I am more familiar with pandoc. Rather ...
Kerry Cox's user avatar
-1 votes
1 answer
134 views

problem with equation in markdown

How can I code this equation in markdown? I'm trying this in marktext
Khánh Bùi's user avatar
0 votes
0 answers
140 views

In a texlive environment, how to sovlve the "I can not access the shell" problem?

When I try to include a markdown snippet in my tex code: \usepackage[hashEnumerators,smartEllipses]{markdown} \begin{markdown} An h1 header ============ \end{markdown} I got the following error: ...
tribbloid's user avatar
  • 113
0 votes
0 answers
38 views

Header Issue when knitting with jpg image

I am new to markdown and have to generate a weekly report with the proper header including a jpg image. I have the following yaml --- title: "My Title" author: "Author Name" date: &...
a nony mouse's user avatar
1 vote
1 answer
245 views

Beamer - How to remove sections form headline (Frankfurt theme)

I want to remove specific sections from the headline overview of the Frankfurt theme in beamer. A MWE would be this: \documentclass[]{beamer} \usetheme{Frankfurt} \begin{document} \section{Section 1}...
flurble's user avatar
  • 121
0 votes
1 answer
869 views

pandoc doesnt generate latex equations during .md to .html conversion

I'm using pandoc to convert a .md file with latex equations into .html pandoc sample_equations.md -o test_today.html This is one such equation in sample_equations.md \begin{equation} \frac{\partial ...
newstudent's user avatar
0 votes
1 answer
61 views

Using inline Markdown within a LaTeX table

I'm trying to embed inline Markdown text within a LaTeX table, but no matter what I try, I always seem to get cryptical errors (I am a total novice with LaTeX, so they might be rather obvious actually)...
Horstling's user avatar
  • 103
1 vote
1 answer
112 views

How to insert a \part section in a R Markdown file?

I'm not sure that it's the right place to post it, but, after all, it is especially about Latex too. This is my question: I've been trying to figure out how to use R Markdown with Latex. Indeed, I ...
domi's user avatar
  • 1,483
3 votes
1 answer
447 views

Missing characters to convert the output of `tree` command using pandoc

I have a markdown document that contains the output of Unix tree command: output/ ├── cutadapt │   ├── 0001.PbANKA_820_S1_R1.log │   ├── 0002.PbANKA_820_S2_R1.log │   └── 0003.PbANKA_R1.log ├── fastqc ...
dariober's user avatar
  • 275
0 votes
1 answer
131 views

Error while merging and converting two markdown files to pdf using pandoc

I'm using to pandoc to create pdf via following command: pandoc -s -o analysis.pdf latex_header.md Analysis.md The following error is shown : Error producing PDF. ! Undefined control sequence. l....
Saptarshi Sahoo's user avatar
0 votes
0 answers
237 views

Error when including Hebrew characters in R markdown

I'm trying to create PDF report with R markdown. The report includes some Hebrew names as part of a table. When kniting the R markdown file, I get: ! LaTeX Error: Unicode character מ (U+05DE) ...
BoTz's user avatar
  • 101
0 votes
1 answer
525 views

Pandoc Code block is not aligned using Eisvogel and Markdown

Hey it's me again and I am back with something that doesn't let me sleep anymore. I am using the popular Eisvogel Pandoc template for rendering my markdown files to PDFs. So far everything is working ...
mnqn's user avatar
  • 45
4 votes
3 answers
3k views

Add a custom latex command to be used with pandoc/markdown

so I am using the popular Eisvogel template for my personal work. I basically type everything in markdown and use pandoc to convert it to a pretty pdf. Using blockquotes ( > text ) results in a ...
mnqn's user avatar
  • 45
0 votes
1 answer
365 views

Counting words with TeXcount in documents using \markdownInput or \verbatiminput

I'm using \markdownInput (via the markdown package) to include Markdown files in a paper on Overleaf. Overleaf uses the TeXcount utility to count the words. But TeXcount doesn't recognize \...
woerndl's user avatar
  • 123
0 votes
0 answers
299 views

Markdown -> Latex -> PDF: md inline code snippets going out of page bounds

Problem I have a bunch of changelog.md files for our software that use backticks for inline code. I pull them as part of the documentation build process and compile a PDF with latex. Latex seems ...
Donvini's user avatar
  • 85
0 votes
1 answer
681 views

Markdown table overflowing in rendered PDF

I have a markdown file with many pipetables. It is linked in a tex file. In most of them the text is too long for one row. When i create the pdf with pdflatex --shell-escape ./test.tex I would assume ...
user267769's user avatar
0 votes
2 answers
609 views

Pandoc convert specific parts of document

I have a markdown file of which I want to convert sometimes only specific parts, sometimes the whole document. I know about lua-filters and fenced div which I think is a possible approach, but how can ...
Razero's user avatar
  • 121
0 votes
1 answer
87 views

How to return to the initial definition of quote on markdown, after having redefined it? That definition is unknown or can vary depending on flavors

After having redefined quote in markdown to create nice blockquote with background color and borders, how can I return to the previous quote definition, that is unknown, because it's markdown who ...
Marc Le Bihan's user avatar
3 votes
0 answers
66 views

Defining an environment with markdown in a tcolorbox

This works in Overleaf: \begin{tcolorbox} \begin{markdown} - Foo - Bar \end{markdown} \end{tcolorbox} But I can't define a new environment that does this with a single environment declaration (...
avv's user avatar
  • 131
0 votes
0 answers
462 views

Latex hyperlinks with tooltip or alt text

I am trying to figure out a way to add tooltips or alternate text to my images and hyperlinks. I use a converter to convert markdown documents to latex so What I need is the following: This would be a ...
RKoornneef's user avatar
0 votes
1 answer
833 views

links and reference links in latex converted from markdown

I am trying to convert markdown to latex using a self made script. One of the issues I am running against are hyperlinks. Within markdown there are numerous ways to place links (external hyperlinks), ...
RKoornneef's user avatar
0 votes
1 answer
238 views

Conversion markdown to latex regarding headers

I am trying to convert markdown headers to latex without them being caught by a ToC. So in other words, in markdown I would do like this: - # header 1 - ## header 2 - ### header 3 - #### header 4 ...
RKoornneef's user avatar

1
2 3 4 5
7