How to autoclose ** in markdown mode?

I would like to automatically close ** for emphasis in markdown mode. Well actually in GFM mode.

Naively approaching this I thought to just use ‘autoCLoseBrackets’ and reading the documentation I guessed that this might work:

autoCloseBrackets: [
		left: '**',
		right: '**'

But it doesn’t. Not I am not sure if I am doing something wrong here or if I simply can’t do what I want to do since *s are also used part of the markdown Syntax.

1 Like

As it stands, the close-brackets plugin is built with the assumption that the opening/closing tokens are single characters, so indeed, it won’t work with "**".

1 Like

Ahh too bad. Thanks for clearing that up :slight_smile:

1 Like