Comments (5)
Which markdown process supports that syntax? I have used pandoc specification and it does not include the above.
from poly-markdown.
It seems to be a pandoc extension tex_math_single_backslash that is enabled in RMarkdown by default (https://www.rdocumentation.org/packages/rmarkdown/versions/1.10/topics/rmarkdown_format) so it would seem to make sense to enable that at least for the markdown+r mode.
from poly-markdown.
There are 2 pandoc extensions, one for single and one for double backslashed. I am guessing R markdown activates the single backslashed one, or it does both?
from poly-markdown.
"By default R Markdown is defined as all pandoc markdown extensions with the following tweaks for backward compatibility with the markdown package:
+autolink_bare_uris
+ascii_identifier
+tex_math_single_backslash"
(https://rmarkdown.rstudio.com/html_document_format#markdown_extensions)
from poly-markdown.
Well, "all" need not always mean "all", you know;)
Could you please try \\[..\\]
and \\(..\\)
blocks and see if it does work? I cannot do it myself because it don't even have a good idea of what "does work" means in this context as I never used math in Rmarkdown.
This is mostly out of curiosity. I am unlikely to implement the double backslashed versions unless someone really cannot do without at some point in the future.
from poly-markdown.
Related Issues (17)
- A problem while installing poly-markdown from epla HOT 7
- Use add-hook instead of add to list HOT 5
- `fill-paragraph` causes Lisp nesting HOT 4
- mode-matcher and sh-mode HOT 1
- Errors running polymode HOT 2
- Raw blocks in pandoc markdown HOT 1
- Code folding with RMarkdown
- Unable to navigate markdown files
- Invalid slot type: pm-inner-chunkmode, head-matcher HOT 3
- Loading code in Agda code blocks removes syntax highlighting from the Markdown text
- Latex (Math) highlight is broken when auctex is installed
- Support additional pandoc language tag syntax
- Buffer-font-mode doesn't switch to fixed-pitch for code-blocks HOT 1
- Documentation of pm-inner/markdown-inline-math wrong
- Overly aggressive inline fontification for multi-word inline code HOT 4
- $ character starts latex mode even inside fenced block HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poly-markdown.