Closed LuciusChen closed 2 years ago
If the purpose is to just have a syntax to force a newline in the export, ox-hugo
supports the \\
characters at the end of line. See https://orgmode.org/manual/Paragraphs.html.
So this:
abc \\
def
will export to
abc <br />
def
I hope that helps. As of now, I am not seeing a good reason to support special LaTeX syntax for newline when Org mode already has built-in support.
Let me know if the \\
works for you.
Thanks for the reply, I knew about \\
, but in org-roam-ui it only supports \newline
.😂
Can you open a request on org-roam-ui
to support the standard Org syntax \\
for newlines? As you might have realized, \newline
is not support by ox-html
or ox-md
. And so ox-hugo
has very little reason to support that.
Alternatively, you can use one of the filter hooks ( https://orgmode.org/manual/Advanced-Export-Configuration.html ) to add support for this in your Emacs config.
Thanks, I'll take a look at this and then go to org-roam-ui and make a request.
Actual Behavior
Expected Behavior
Hope to support \newline in Latex