A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/283 below:

New command(s) to remove styling · Issue #283 · jrblevin/markdown-mode · GitHub

I wanted to remove bolding from some text. It would be nice if there was a command to do so. I'm not sure how it would work.

  1. Should it turn bold text into italics or straight to plain text? Maybe a user option to choose.
  2. I'd be fine having to highlight all the (possibly multi-word) text to remove formatting though currently having point on a word without a region and using C-c C-s b will bold the whole word and leave point where it is. It would be nice for a remove function to have symmetry with this behavior.
  3. I originally thought of a single command (say on C-c C-r) that would remove paired formatting (bold, italics, headings, code, etc). Perhaps it would be better to have the existing commands be a toggle. Currently if point is in a bolded word, C-c C-s b will add more asterisks which probably isn't what is wanted. Perhaps a toggle is more efficient behavior and works better in nested circumstances (this text is bold and code, remove the code tags) . This could also be easier to implement because code could know what specific chars to look for rather than working on the inner most nested styling.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4