Sublime Forum

Markdown editing, auto-text

#1

In Markdown mode, ST auto expands * to ** at the beginning of a line. How do you disable this behavior?

0 Likes

#2

You mean when the current syntax is Markdown.

This behavior is caused by a package. Maybe Markdown Editing, or Markdown Extended.

I don’t use theses packages for completing markdown (I made my own called fast-markdown), but you might want to have a look at the readme if there is a some setting(s) to disable the keybinding.

pro-tip: use ReadmePlease to open the readme!

0 Likes

#3

copy the keybinding from MarkdownEditing into your User keybindings, and replace the expansion back to a single *

0 Likes

#4

Just as a note, if you type a space after the first *, MarkdownEditing will add the space and erase the second * character. So if you’re typing a bulleted list, for example, you can just type it out normally and the right thing will happen.

0 Likes

#5

Thanks. Is there a generic way to find the file that contains the keybindings for each package?

0 Likes

#6

You’re gonna :heart: PackageResourceViewer.

Look for

  • Default.sublime-keymap
  • Default (Windows).sublime-keymap
  • Default (Linux).sublime-keymap
  • Default (OSX).sublime-keymap
0 Likes