I am looking for a package to format text with Markdown bold and italic


Dear all,

I am looking for a package that allows me to format selected text in Markdown bold or italic.

Does anyone have a suggestion?




I’m not sure, but I don’t think there’s styles-only solution. The closest I got is this:

atom-text-editor::shadow {

    .has-selection .source.gfm {
      font-weight: bold;
      font-style: italic;

However, it should be possible to achieve this programmatically, just toggle inline-styles when there’s a selection.


Thank you @idleberg!

Does your solution do the following if I select the option from the Ctrl+P menu:

- text that should become bold 
+ **text that should become bold**



That was a misunderstanding. I thought you only wanted the text to be bold/italic when selected.

However, it looks like md-writer supports what you were after!


This package is the solution! Thank you. :slight_smile:

Works even better with language-markdown.