Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
7 views

EIN: How to render Markdown cell?

When I restart the Jupyter server and reload the notebook the markdown cells get rendered. How can I achieve the same behavior without leaving the notebook? E.g.
0
votes
0answers
10 views

How to ignore certain modes in polymode by flyspell?

This is smilar to How to make Flyspell ignore code blocks in Markdown? but I have jekyll-modes which is poly-mode with markdown and other languages to be used with jekyll files. I want to ignore ...
0
votes
1answer
45 views

How do I live preview markdown, rendering math, checkboxes, etc.?

I’m using Spacemacs with markdown-mode and I’ve configured it according to Jason Blevins’ guide. Other things I’ve tried Pandoc works pretty well except when I set the —lua-filter=task-list.lua flag ...
-1
votes
0answers
21 views

How do I get MD-Preview to properly render LaTeX commands in markdown?

Is it possible and, if so, how do I get my MD-Preview (which seems to be eww) to render latex commands in my .md file as mathematical symbols.
0
votes
1answer
13 views

Make flymd accept other file extensions

When I try to preview my markdown files I get this aggressive funny response: What’s wrong with you???! Don’t flyit if you are not viewing a markdown file. But I am! ;-) It's just that I use .txt as ...
0
votes
1answer
56 views

Markdown-style block quotes in org-mode

I'm new to org-mode. I'm liking it so far. The one growing pain that I have is missing Markdown-style block quotes: I would like to start a line with > to quote it. How would I go about writing an ...
2
votes
1answer
39 views

Render markdown in mu4e buffers

I recently moved to mu4e for my email and it works great except that the way my university formats emails makes them look really weird in emacs (light grey background, white foreground). I was advised ...
0
votes
0answers
36 views

How to get suggestions for wiki links in deft?

I use deft in an nvALT-like fashion to navigate my single notes folder of ca 3000 text files. A very useful feature, similar to nvALT, is that I can link between files using [[wiki links]]. But, I do ...
2
votes
1answer
31 views

Unable to export markdown files with devanagari characters

Running emacs 25.2.2. And markdown installed from Melpa. If I export a file with devanagari characters, it produces a file sans devanagari characters! I did a bit of research and found out that ...
1
vote
1answer
38 views

Assign TAB in markdown mode

Running emacs 25.2.2, general, evil and markdown-mode installed from MELPA. The problem is when I hit TAB on a heading in a markdown file, it does not cycle visibility of content. C-h k TAB shows it ...
2
votes
3answers
269 views

How to export Markdown from Org-mode with ``` syntax?

I can export Markdown from Org (using C-c C-e) but #+BEGIN_SRC lang ... #+END_SRC is not exported as i expected as: ```lang ... ```. I would like that the code source will be replaced with ``` (...
0
votes
1answer
41 views

Why are code blocks and code literals displaying with large face in markdown

In markdown mode, all of the fenced code blocks and inline code literal strings are displaying with this very large font. The size is large, and also I'm pretty sure it isn't the same font as the ...
0
votes
1answer
76 views

dir-locals not working

I wanted to have wc-mode (a minor mode) enabled when I edit any markdown file in a specific directory. So, I created a .dir-locals.el file and added the following to it: ((markdown . ((wc-mode . t))))...
0
votes
1answer
133 views

Problem with Org mode's export to markdown

I'm trying to use Org mode's export to markdown, and am finding some unexpected results. For a file: * Section This is some test.[fn:1] @@markdown:This should appear in markdown export.@@ * ...
1
vote
1answer
77 views

Convert math in org file to markdown file correctly

I'm trying to convert/export a org file to Markdown. Most Markdown supports math with $x^2$ or $$x^2$$. I tried ox-gfm and pandoc, but they don't seem to handle it correctly: org file: \[x^2\] $$x^...
0
votes
0answers
191 views

yaml frontmatter in org mode

When exporting and org file in emacs to either html or md for a jekyll-based web page, the yaml front matter gets twisted. As suggested here, I have attempted enclosing it in an html block in the ...
0
votes
0answers
50 views

Org clean view on exported file

I found an answer (https://stackoverflow.com/questions/21620788/how-do-you-export-org-mode-to-look-like-org-indent-mode) that doesn't actually solve my issue so I'm posting here After reading https://...
1
vote
1answer
77 views

How do I hide markup in Markdown mode with use-package?

I'd like to hide the markup in my Markdown buffers. I can do that manually using markdown-toggle-markup-hiding. However I'd like to configure this once and for all in my init.el so that I don't have ...
0
votes
0answers
69 views

Markdown - synchronized preview, vertical split

When I do C-c C-c l in a markdown buffer, the preview opens in a horizontal equal split. When I move up and down in markdown buffer, the preview buffer does not sync movements so I get to see in ...
0
votes
1answer
102 views

How to (correctly) hex encode a URL so that it becomes a valid address I can paste into my web browser?

Here is a valid URL which loads the intended page when I paste it into my browser: https://en.wikipedia.org/wiki/Blue_(disambiguation) For reasons I will explain later, I want to hex encode the last ...
0
votes
0answers
116 views

org-mode markdown broken

I install (latest) org-mode on emacs 25.1 from http://orgmode.org/elpa/ like this (use-package org :ensure org-plus-contrib :defer t) (require 'ox-md) If I try to export the draft of my book (...
3
votes
0answers
58 views

Typing in Live-Rendered Markdown

I know there are ways to preview markdown as you type but is there a way to avoid this duplication of text (rendered and pain text in different buffers)? Basically, I want to type in the preview. ...
1
vote
1answer
133 views

multi-mode with markdown and language

I swear there used to be something like this. I'm writing a lot of Markdown with embedded code. I would like to have EMACS treat code in GitHum fenced code according to the default mode for that ...
1
vote
0answers
17 views

Detect a region in markdown and run a compilation

It would be really useful if emacs could detect the cursor is currently inside a code-block in my markdown-file and compiles the fragment automatically. I am editing a large markdown file with a lot ...
0
votes
0answers
75 views

Does 25.1 allow Markdown viewing?

With the new 25.1 installed, I'm wondering if there is a better way to view a Markdown inside an Emacs buffer. Would this involve xwidget? Not sure how to enable/install xwidget on my new Emacs 25.1.
5
votes
1answer
2k views

Markdown preview in Emacs using pandoc

Platform: Windows 7, Emacs 24.2, Pandoc 1.17.2 Scenario: I am writing a markdown file in Emacs. I need to use pandoc to render the output, because it supports citations (using pandoc-citeproc). ...
1
vote
0answers
19 views

How can I avoid escaping quotes when I export an org file to markdown?

"foo" becomes “foo” when I run org-md-export-as-markdown I just want it to export to "foo". How can I fix this?
4
votes
1answer
603 views

How to set PDF export in polymode-mode to use xelatex engine?

Consider the below MWE of .Rmd file containing Arabic text which needs xelatex engine to be rendered by pandoc. As the documentation of the latter says putting this option would make it: --latex-...
5
votes
1answer
289 views

How to get align-regexp to help line up Markdown tables properly?

I am trying to line up a text table using align-regexp. A table, before alignment, looks like this: | Alpha | Bravo | Charlie | |-------|-------|---------| | Delta | Echo | Foxtrot | | Golf | Hotel | ...
6
votes
2answers
371 views

Markdown Mode: Is there a way to display changes on-the-fly?

I found two ways to display preview of the markdown files in markdown mode. One is C-c C-c p which requires a parser (currently I use pandoc) to preview using browser. The other is C-c C-c l which ...
5
votes
1answer
88 views

Insertion of code blocks in sx.el

In sx.el compose mode, what is the correct way to mark some region as a code block, the way C-k does it on the web interface ?
0
votes
0answers
41 views

Is there a way to colorize markdown coding partial

I want to colorize code snippet in markdown-mode. # foo.rb def foo do_something end And javascript code. // bar.js function bar(){ do_something(); } In markdown-mode the codes are colored by ...
14
votes
2answers
758 views

How do I do live Markdown previewing as I'm writing it?

How can I do that either in a different buffer or even in the current buffer? I'm trying to do Github README.md and other Github rendering of Markdown (for notes and such),
2
votes
1answer
123 views

Raw v.s. Rendered - how to modify the mode for various markup languages to they render nicely, rather than as source

There are many wonderful markup languages. For example here are some of their file extensions: nroff, md, tex, org, info, rtf, ps, html, etc. etc. We love them all. In most cases I visit these ...
1
vote
0answers
147 views

CSV to Markdown table

Say we have a CSV in a buffer: foo,bar,hello 1,234,95 8923,901,145 Are there any native Emacs or Markdown-mode built-ins in Emacs that can be used to convert it to a Markdown table? It looks like ...
0
votes
1answer
615 views

Have markdown-mode render checkboxes as in GFM

How can I make this: - [ ] check - [x] box render checkboxes, like in GFM? I think the output is something like <input type="checkbox" disabled> check <input type="checkbox" disabled ...
4
votes
1answer
265 views

How to preserve list indentation after RET in markdown-mode?

When I'm editing a markdown-mode document with a list like this: * foo * bar * baz and my cursor is at the very end of the baz line, and I press RET (which is bound to markdown-enter-key) then the ...
2
votes
1answer
262 views

How to chain after-change-hook functions?

I am trying to convert markdown to html and then use impatient-mode to display it live on browser on the fly. Impatient mode uses after-change-hook to detect changes in html. I am using after-change-...
5
votes
1answer
585 views

How do I get a TOC sidebar of my current buffer?

I would like to write in markdown mode for example and then have a sidebar that shows me a table of contents of the buffer I am currently in.
3
votes
1answer
228 views

Make reftex-mode work with a different citation format

By default reftex-mode recognizes LaTeX-like citations, which have a format like \cite{Smith15}. (Locating the cursor above a reference shows a description of it in the mini-buffer and pressing C-&...
11
votes
2answers
5k views

Collapse sections in markdown

I use markdown-mode (in conjunction with writeroom-mode) for writing in Emacs. My markdown files generally gets quite large, and I would like to be able to focus on a particular section for extended ...
28
votes
2answers
5k views

How to migrate Markdown files to Emacs org mode format

I've got hundreds of personal notes stored as files in Markdown format, after several years using the VoodooPad personal wiki software for OS X. There's plenty of information available for exporting ...
18
votes
1answer
3k views

GitHub Markdown Mode

Is there an Emacs mode for GitHub Flavored Markdown? GitHub Flavored Markdown adds a number of features to traditional Markdown: underscore handling, url autolinking, strikethrough, and tables. It ...
8
votes
1answer
532 views

How to fix markdown-mode's fill-paragraph?

markdown-mode is pretty good at filling paragraphs overall, but there's one flaw that really bothers me. If a paragraph contains a line which ends in two spaces, it only starts filling never fills ...
6
votes
1answer
392 views

backword-sentence and forward-sentence are moving over paragraphs

I use markdown-mode to edit markdown, but it's missing one very useful feature. Whenever I press M-a (backward-sentence) or M-e (forward-sentence) it takes me to the start or end of the paragraph, ...
17
votes
2answers
457 views

How can I use the SE flavor of Markdown in emacs?

I would like to use the SE flavor of markdown in my emacs. The default Markdown mode has some features (backticks and indentation mark code, # makes a header and > also changes the font) but I ...