You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context as to why this matters, in ox-hugo. The best way I've ound to blog about a shortcode, that gets hugo to NOT try and execute the shortcode but also shows it as if it was a normal shortcode is to insert a comment.
{{</* … */>}} or {{%/* … */%}}
Hugo will end up rendering this in the HTML, which is exactly what I want.
{{< … >}} or {{% … %}}
However, when you use a line like the one in that 1st example, org-mode thinks the 2nd asterisk is the beginning of a section to be bolded.
and if you've got org-mode hiding the formatting characters and actually formatting then you see this in org-mode:
{{</* … />}} or {{%/ … */%}}
but with the center section bolded.
To get around this we should be able to use org-entities like \ast which inserts an asterisk.
The fact that this doesn't work means that ALL of the org-entities are unusable. Yes, it could be gotten around by inserting the unicode characters that they represent BUT if we do that then we're right back at not being able to tell org-mode to not bold things.
For context as to why this matters, in ox-hugo. The best way I've ound to blog about a shortcode, that gets hugo to NOT try and execute the shortcode but also shows it as if it was a normal shortcode is to insert a comment.
Hugo will end up rendering this in the HTML, which is exactly what I want.
However, when you use a line like the one in that 1st example, org-mode thinks the 2nd asterisk is the beginning of a section to be bolded.
and if you've got org-mode hiding the formatting characters and actually formatting then you see this in org-mode:
but with the center section bolded.
To get around this we should be able to use org-entities like
\ast
which inserts an asterisk.The fact that this doesn't work means that ALL of the org-entities are unusable. Yes, it could be gotten around by inserting the unicode characters that they represent BUT if we do that then we're right back at not being able to tell org-mode to not bold things.
Actual Behavior
\ast
exports as\ast
or∗
Expected Behavior
\ast
exports as*
How to Reproduce the Issue
insert one of the many
org-entities
see Special Symbols documentation like the one for an asterisk (\ast
).Example Org File
Generated Markdown File or Error
Ox-Hugo Debug Information
Debug Info
Debug information for
ox-hugo
Emacs Version
Org Version
Hugo Version
Org
load-path
shadowsWarning: Possible mixed installation of Org
Study the output of
M-x list-load-path-shadows
.ox-hugo
defcustomsThe text was updated successfully, but these errors were encountered: