Closed
Description
In markdown, we use <!--more-->
as a marker of "end of summary" for hugo.
Can the below be supported for org?
** more ..
Here is how you can insert a =<!--more-->= to mark the end of summary for hugo parsing.
#+BEGIN_SRC text
This is on line 1
#+HTML:<!--more-->
This is on line 2
#+END_SRC
This is on line 1
#+HTML:<!--more-->
This is on line 2
Support #+HTML
This feature request is more than just support <!--more-->
😄
It is about supporting the org #+HTML:
syntax.
Ref - Quoting HTML tags in org
Note that it can be #+HTML:
or #+html:
; it's case-insensitive.
Support @@html:...@@
Below MWE shows how the @@html:...@@
syntax (also mentioned in the above reference) can be used to force line breaks without starting a new <p>
block.
Use this at the end of lines: =@@html:<br>@@=
#+BEGIN_SRC text
This is on line 1 @@html:<br>@@
This is on line 2
#+END_SRC
This is on line 1 @@html:<br>@@
This is on line 2
Note that a user can have this in their org file:
#+BEGIN_SRC text
This is on line 1 @@html:<br>@@@@latex:\\@@
This is on line 2
#+END_SRC
or
#+BEGIN_SRC text
This is on line 1 @@latex:\\@@@@html:<br>@@
This is on line 2
#+END_SRC
But the HTML parser only extracts the <br>
portion from @@html:<br>@@
.
Metadata
Assignees
Labels
No labels