最近搜索
没有最近搜索
Editor: Code formatting options for either block or selection
已于 2021年10月18日 发布
Currently, selecting the Code block option will apply that formatting (using <pre>) to the full text until the next break in paragraph.
So even though I've only selected THIS word before hitting the button, the whole line is formatted
To apply this to just a selection of text, we need to open the source code editor and apply <code> tags manually.
We'd love to see a dropdown from the Code block button with options that read something like "Block" and "Selection", where "Block" applies <pre> tags and "Selection" applies <code> tags.
2
2
0 条评论
登录以发表评论。