DownmarkerWPF
DownmarkerWPF copied to clipboard
Combine Code/Codeblock?
We currently have both a Code (uses backticks) and a CodeBlock (Indents by 4 spaces/tab) button on the floating toolbar.
I suggest we collapse these. The rules could be:
If the selection starts mid line and does not go over multiple lines, it should be Code If the selection starts mid line and spans multiple lines, all spanning lines should become a codeblock. If there is no selection, it should be a codeblock
Thoughts? I think having the two is confusing (i had to look at implementation to figure out what it did). At a minimum some tooltips need to be added
I agree they should be collapsed, however I would adjust the last rule:
- If there is no selection and the cursor is at the start of the line, it should be a codeblock
- if there is no selection and the cursor is not at the start of the line, it should start code (with backticks)