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

Recognize =code=--- as code plus dash... #77

Closed
mdorman opened this issue Jan 15, 2018 · 3 comments
Closed

Recognize =code=--- as code plus dash... #77

mdorman opened this issue Jan 15, 2018 · 3 comments

Comments

@mdorman
Copy link

mdorman commented Jan 15, 2018

=code=--- should render as something like <code>code</code>---. With the current goorgeous, the = signs aren't parsed, and it is simply rendered verbatim.

Still, it's a minor thing versus a very nice library.

@wd
Copy link
Contributor

wd commented Mar 4, 2018

I think you should leave a blank before and after the = sign, like *bold*, /italic/, _underlined_, =verbatim= and ~code~ .

@curiouslychase
Copy link
Owner

@mdorman, sorry this is a super late response. I'm refactoring goorgeous to handle stuff a little easier,
is this sufficient?

org test:

this should be a code element followed by dashes: =code=---

out:

this should be a code element followed by dashes: <code>code</code>&mdash;

If so, this is the current branch that I'm working on supports this. @wd, I did a test on (org-html-export-as-html) and this is the behavior org-mode has.

curiouslychase pushed a commit that referenced this issue Jun 24, 2019
@curiouslychase
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
None yet
Projects
None yet
Development

No branches or pull requests

3 participants