Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for symbols like ndash and mdash #46

Closed
duckdodger opened this issue Apr 29, 2017 · 3 comments
Closed

Support for symbols like ndash and mdash #46

duckdodger opened this issue Apr 29, 2017 · 3 comments
Labels

Comments

@duckdodger
Copy link

Org supports ndash -- and mdash --- which are exported properly to – and — respectively through HTML with – and —. It doesn't look like it's done in goorgeous, hence this issue. You can have a look at http://orgmode.org/worg/org-symbols.html as reference for all such special characters.

Thanks for this package, by the way! I love it. :)

@priyadarshan
Copy link

priyadarshan commented May 2, 2017

Yes, EnDash, --, and EmDash, --- are quite important in humanities publications and their sites.

Org via Emacs will render EmDash, ---,

It is only a question of years --- and certainly not centuries --- before its golden glint falls on the face of every nation.

thus:

<p>
It is only a question of years &#x2014; and certainly not centuries &#x2014; before its golden glint falls on the face of every nation.
</p>

EnDash, --,

The Supreme Court voted 5--4 to uphold the decision.

is rendered as

<p>
The Supreme Court voted 5&#x2013;4 to uphold the decision.
</p>

In summary:

EmDash: --- is rendered as &#x2014;
EnDash: -- is rendered as &#x2013;

@ghost
Copy link

ghost commented Jun 5, 2019

This is really necesary and basic

@chaseadamsio
Copy link
Owner

I had a branch I was getting ready to PR into Hugo this week that fixed this, but it looks like @niklasfasching PR'ed a new org parser, so I'm closing all the issues here, deprecating and archiving goorgeous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants