You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In markdown-insert-gfm-code-block (C-c C-s P), I'm offered a what looks like a default (e.g., "haskell"), but when I press enter, I don't get a language for the fenced code region. Intended behavior? I can fix the code easily enough to use (car markdown-gfm-used-languages) as the default in completing-read, instead of adding to the prompt string, i.e., change
Oops. Now I see that the language offered is the most recently added language, not most recently chosen language. A simple fix in markdown-gfm-add-used-language is to replace
Thanks for reporting and fixing this! Sorry it took me so long to take a closer look. I didn't want to trouble you for a PR this long after the fact, so I applied the patch by hand as 7d8f78b. It seems fine to me, but let me know if you see any issues.
In
markdown-insert-gfm-code-block
(C-c C-s P
), I'm offered a what looks like a default (e.g., "haskell"), but when I pressenter
, I don't get a language for the fenced code region. Intended behavior? I can fix the code easily enough to use(car markdown-gfm-used-languages)
as the default incompleting-read
, instead of adding to the prompt string, i.e., changeto
I like this behavior, but I'm unsure it's the behavior you want. If it is, I'll submit a pull request.
The text was updated successfully, but these errors were encountered: