Skip to content

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

Description

@thomasheartman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions