Open willfaught opened 1 year ago
Any proposal needs to have a compelling arguments as to the "why". What does it solve, improve?
Note that this comes at a cost. Searching for the exact string <!-- more -->
is extremely fast and simple.
Any proposal needs to have a compelling arguments as to the "why". What does it solve, improve?
See https://discourse.gohugo.io/t/support-whitespace-in-more/42797:
For the record, I’ve made the mistake myself a couple of times.
As did I. If
<!--
more
-->
is a lot more work, then at least support <!-- more -->
.
I would like to vote for this proposal.
Most IDEs annotate comments with whitespaces. So, in my case, composing <!--more-->
tag looks like this:
more
- Write more
by hand<!-- more -->
- Use <Ctrl> + /
to comment it out<!--more -->
- Remove whitespace from the left<!--more-->
- Remove whitespace from the rightLast two steps are not friendly.
It would be great to make parse rules more tolerant to let user just write more
and use a hotkeys to comment it.
First, I suggest you don't do that. Second, your comment is not related to this issue.
<!-- more -->
should work too. AlsoSee https://discourse.gohugo.io/t/support-whitespace-in-more/42797.