question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What's the LaTeX writing rule in MD files?

See original GitHub issue

I write markdown file with LaTeX like this style:

## Hello World.

$$
\gcd(a, b) = \gcd(b, a \% b)
$$$$
\gcd(a, b) = \gcd(b, a \% b)
$$

And MDlint just scans no synatx warning with this file. When I add one or more lines after $$, the extension works again. So it’s a bug or a real problem to write LaTeX with more than one line and using $$$$?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidAnsoncommented, Feb 14, 2019

It looks to be a bug in markdownlint related to the way the math block parser outputs tokens. I can’t reproduce it otherwise. Good catch, thank you!

0reactions
DavidAnsoncommented, Feb 14, 2019

Got it, thanks! I’ll have a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to write in Markdown on Overleaf
Markdown is a lightweight markup language (get it? 😉) that lets you write up something in plain text with some very simple rules,...
Read more >
Learn How to Write Markdown & LaTeX in The Jupyter Notebook
Markdown file extension is .md. When you write in Markdown, you use shortened notations which are replaced by the corresponding HTML tags.
Read more >
6.11 Write raw LaTeX code | R Markdown Cookbook
6.11 Write raw LaTeX code. By default, Pandoc will preserve raw LaTeX code in Markdown documents when converting the document to LaTeX, so...
Read more >
Markdown vs latex for thesis - TeX - LaTeX Stack Exchange
Markdown was simply not designed for writing academic papers, they were designed for documentation, their support for cross-references, ...
Read more >
Is it better to write LaTex directly or write a markdown file first ...
IMO Markdown is ideal as a writing tool while LaTeX is ideal as a text storing tool. Write your documents in Markdown: it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found