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

Org non-source blocks exported as <pre> #13

Open
thomasheartman opened this issue May 11, 2020 · 0 comments
Open

Org non-source blocks exported as <pre> #13

thomasheartman opened this issue May 11, 2020 · 0 comments

Comments

@thomasheartman
Copy link

@thomasheartman thomasheartman commented May 11, 2020

Hi,

I came across an issue where Orga exports #+BEGIN_ASIDE blocks as <pre> elements in markup. This was unexpected behaviour and counter to what normal Org mode does.

As per the org mode documentation (chapter 13.9.3: HTML doctypes), they should be exported to HTML <aside> elements. If HTML5 export isn't enabled, it should be exported to <div class="aside">

I would expect exporting to HTML5 to be a sensible default that could potentially be toggled off if someone still needs to support (very?) old browsers. If that's the case, I doubt they're using Gatsby.

Has this been addressed before?

Thanks.

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

Successfully merging a pull request may close this issue.

None yet
1 participant