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.

1
vote
1answer
19 views

Help needed to debug (very) slow markdown-mode

I come back to emacs after an eternity without using it. I used it before but now that I'm a grown up I'd like to understand what I do and how to do stuff. I use emacs mainly for markdown edit at the ...
0
votes
2answers
17 views

How can I turn off clickable links in markdown mode?

I would like markdown-mode to treat URLs as normal text, so that I can click on them to place the cursor inside them rather than loading the page in a browser. I tried toggling goto-address-mode, ...
1
vote
1answer
35 views

markdown-mode seems to ignore variables set in .dir-locals-el

I have a folder with some files written in markdown format that I would like to convert in html using markdown-mode. I want a local value for the variable markdown-css-paths, in order to have a ...
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 ...
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 ...
1
vote
1answer
43 views

Minor markdown-mode for comments

I like to use the markdown-mode for READMEs. And I would like to use the markdown-mode as a minor-mode for comments in other major-modes like sh-mode. Is this possible somehow?
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 ...
1
vote
0answers
60 views

Wierd behaviour and lag of markdown mode (due to indirect buffer?)

Problem There is severe lag(>10s some times) in my markdown document (14k words) which I run within emacs. It appears that Markdown-mode seems to be computing something everysingle time I type any ...
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
2answers
81 views

Edit commit messages in markdown mode

I configured git so that it uses emacsclient when editing commit messages. The only problem is that these messages are edited in fundamental-mode. Which hook should I use to have these commit messages ...
0
votes
0answers
24 views

How to use move-text in markdown-mode?

I use move-text to move lines up and down using M-up and M-down, but it doesn't work in markdown-mode, except in lists. Can I make it work for all text?
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
70 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 ...
1
vote
0answers
70 views

org-pretty-entities for markdown-mode

org-mode has the variable org-pretty-entities that allows for the display of LaTeX math as unicode characters. How could one get the same result in markdown-mode? It seems like this should be a ...
1
vote
0answers
126 views

Cannot load markdown-mode

Problem I've recently switched to NixOS and I'm having a couple of problems with my init.el. One I think is NixOS related and so I won't elaborate here, but I can't think of any NixOS component to ...
0
votes
1answer
77 views

Cannot define keybinding in markdown-mode

I'm trying to use the package checkbox together with markdown-mode. The checkbox documentation gives the following example on how to define a global keybinding for it's functionality: I'd recommend ...
0
votes
0answers
155 views

indentitation in markdown mode

I would like to have a double nested list in Makrdown Fill mode. For this I write in my markdown file * item 1 * item 1.1: * item 1.1.1 * item 1.1.2 Now I would like to add an * item 1.2: ...
0
votes
0answers
158 views

Fonts in eww mode on windows

I have been using markdown-mode in Emacs and wanted to use live preview in eww. However it's all just displayed in a single font, same size on everything and no bold, italics or colors. I tried https:...
0
votes
1answer
384 views

How to compile, view or preview using markdown-mode

I am using Emacs 25.1 on a Mac. When I try to view, preview or live export a simple markdown file using markdown-mode in Emacs I obtain the following error: /bin/bash: markdown: command not found(in ...
7
votes
3answers
548 views

How to make hyperlinks clickable in markdown mode?

In an emacs org-mode buffer it is possible to type a hyperlink and then click on the hyperlink with a mouse to open the url in an external browser. Is there a way for markdown mode to have active ...
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 | ...
1
vote
1answer
136 views

`markdown-mode` only renders some, not all, LaTeX strings

I'm using markdown-mode. I followed these instructions to render LaTeX math strings: http://jblevins.org/projects/markdown-mode/ I am rendering to HTML with markdown-export and markdown-live-preview-...
1
vote
0answers
25 views

polymode with fsharp-mode has trouble sending last line in code block to interactive

I just started setting up polymode I got ESS and r going nicely with markdown. (use-package markdown-mode) (use-package polymode) (require 'poly-R) (require 'poly-markdown) I was able to put r code ...
6
votes
2answers
263 views

How to make Flyspell ignore code blocks in Markdown?

Can I filter what Flyspell may check in the buffer? I don't want it to spell-check code in Markdown mode. Maybe I can use the font-face at point for that? Something like this: (let ((get-char-...
2
votes
1answer
210 views

How can I hide formatting marks after the formatting they define has been applied in markdown mode?

I am using markdown mode with the modifications suggested in the excellent answer I received to a previous question. My aim is to have basic rendering capabilities within emacs itself so I can ...
1
vote
1answer
455 views

How to default markdown-mode's markdown-live-preview-mode to vertical split

Using markdown-mode, I can run M-x markdown-live-preview-mode (or C-c C-c l) and it will split the window horizontally and display the rendered markdown (i.e. the HTML) with eww in a window below the ...
1
vote
3answers
359 views

How to add four spaces selected region [duplicate]

I'm using Firefox extention It's all text, with it I can edit stackoverflow form text in Emacs. Therefore I often want to add four spaces before selected text to markdown codes. indent-region only "...
4
votes
2answers
705 views

How to configure markdown-mode to render headings like org-mode?

Beloved org-mode can be configured so that different headings (aka, entry titles) display with different colors depending on their nesting level, and so that they only show the final markup character ...
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 ...
6
votes
1answer
954 views

Github-flavored markdown mode: syntax highlight code blocks

For example, if I have a markdown file with the following: ###This is my markdown file here is some text. here is my code block: ``` js var accountdown = require('accountdown'); var level = require('...
4
votes
1answer
112 views

Abbrev expansion after quotation mark

I've looked for a solution to this a number of times. Suppose 'kg' normally expands to 'knowledge' in my abbrev file. I wonder if there is any way to get emacs to expand after a single or double ...
0
votes
1answer
39 views

What's the most effective way to modify this internal mode config?

markdown-mode defines tab-width using a magic number when loaded, overwriting any global settings I have (namely, 2 spaces): ;;;###autoload (define-derived-mode markdown-mode text-mode "Markdown" "...
3
votes
1answer
209 views

Use normal delete-region with backspace in markdown-mode

I would like to use the "normal" behaviour for <backspace> in markdown-mode. That is, instead of calling markdown-exdent-or-delete, I would like to call cua-delete-region. So I tried this ...
3
votes
1answer
524 views

Enable any outline mode for markdown

First of all, from http://www.emacswiki.org/emacs/AllOut: Allout outline mode is part of GnuEmacs. Allout outline mode provides extensive outline formatting and manipulation beyond standard ...
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 ...
3
votes
2answers
2k views

Correct markdown-format tables with orgtbl-mode?

I'm just learning about org-mode, and of course blown away by its sheer level of usability. I of course want to use it everywhere, so I want to create tables with it. Including tables in markdown-mode....
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 ...