Questions tagged [filetype-markdown]

For questions about configuring and using Vi/Vim to edit markdown files.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
188 views

How to stop vim from reformatting lines inside a codeblock in a markdown file?

I keep the a formatoption in vim when I'm modifying markdown files, so my lines are automatically kept to textwidth characters long, with automatic reformatting when I modify text. How can I make ...
3
votes
0answers
44 views

How to disable spell check inside code blocks in markdown?

Code blocks (fenced with ` or ```) are bound to have words not correctly spelled and spell check warnings often get in the way of syntax highlighting. I still want spell check enabled for the rest of ...
3
votes
0answers
86 views

How to preview Markdown in a Vim buffer?

I'm aware of some of the Markdown plugins for Vim, but I want the functionality VS Code and Atom provide, namely being able to split the editor screen and render a live Markdown preview in an adjacent ...
3
votes
0answers
141 views

Prevent Vim from breaking up inline code blocks in (r)markdown

I edit R-markdown files a lot, and this entails writing inline code blocks, such as `r sum(mylongvectorname)` I usually have my text hard-wrapped at 80 chars, and this causes problems for the ...
2
votes
0answers
171 views

README.md (markdown) - jump to infile link

While reading a markdown file, specifically using GitHub markdown, vim interprets hyperlinks correctly. It seems like it would be able to jump to the corresponding section in the file. Is there a key ...
2
votes
0answers
51 views

How to disown a process opened by plugin? (vim-rmarkdown)

as I said in the title I'm talking about vim-rmarkdown, I have this in my init.vim (I'm using neovim) to compile the .rmd file to a pdf. autocmd Filetype rmd nnoremap <F5> :w<Space><...
1
vote
0answers
61 views

How do you highlight text surrounded by double equals

I'm using vimwiki plugin with markdown. I'd like to highlight text using double equals, which isn't standard, but is quite useful. Ideally, this should replace background (for instance, yellow) and ...
1
vote
0answers
313 views

Vimwiki/Markdown blockquote syntax highlight

AFAIK vimwiki's markdown syntax doesn't emphasize in any way blockquotes. I mean: > This is a quote is presented instead as simple text. For reading notes it can be confusing. So, how do you ...
1
vote
0answers
15 views

Doxygen LaTeX syntax

I am using doxygen to document my code and I like to have additional markdown files which include formulas by using \f$ Formula \f$. I know markdown syntax provided by the vim-markdown plugin supports ...
1
vote
0answers
67 views

Why are my bulleted lines automatically joining?

I use the a formatoption to make my text hard wrap, and the n formatoption to recognize numbered lists. The help says that the n option should use the formatlistpat regex to determine which lines not ...
1
vote
0answers
567 views

Viewer for Markdown/MathJax rich text editing in vim/neovim?

Problem Statement Currently I use VIM in a terminal to write code. All my notes are on Microsoft Word 365, which I have been using for a long while. I tried using markdown recently, used VIM to ...
0
votes
0answers
128 views

Markdown syntax color theme

I am giving advice to different research groups at our university. Open Research is promoted highly and many groups use R for statistical analysis. Many are also interested in using Markdown, Pandoc ...
0
votes
0answers
54 views

Vim-Pandoc Overrides my Markdown Plugins

I've been trying to get the vim-pandoc plugin to play nice with markdown nvim, and have not been successful in finding help so far. The trouble seems to be that vim-pandoc sets markdown files to be ...
0
votes
0answers
101 views

Vim spellcheck does not highlight/select misspelt text which is emphasized or strongly emphasized in Markdown

I have noticed that vim spellcheck does not highlight/select text which is emphasized (i.e., italicized) or strongly emphasized (i.e., bold) in markdown. For example, The wuick brown fox jumps over ...
0
votes
0answers
22 views

How to configure formatoptions for markdown?

I really like how vim paragraph auto format works for markdown. The one place where it falls flat on its face is when editing/formatting code and log output that I want to put into the markdown (maybe ...
0
votes
0answers
32 views

after compilation in Vim : cursor in gg

I'm french... sorry for my english I try to compile files (.tex, .md ... using vim). I open terminal and make the compilation ; just before the compilation i save the file and put a marker in the ...
0
votes
0answers
27 views

How can I display text differently from how it is actually stored?

I am making a custom syntax partially based on Markdown. I want to display links differently from how they are stored in the file. For example, [About me](about.md) in the file should be displayed as ...
-1
votes
0answers
24 views

Please help debug syntax

I want to add syntax and highlighting to markdown filetypes. I have plugin 'vim-markdown-master'. I read that if I want to add syntax and highlighting to syntax files I need to put it in after/syntax/...
-1
votes
1answer
329 views

Markdown folding in vim 8.2

I'm using vim 8.2 on Win 10. I want to enable markdown folding with the built-in markdown.vim. But it will not work. I have tried solutions from other questions (e.g., Enable Expr Folding in Markdown ...