Skip to content

Format code-fenced blocks in Textile sources #11

Description

@QuintinWillison

I've created this issue to offset solving this problem until later, rather than trying to solve it during the lifespan of #4.

There's presumably something in the docs toolchain that is doing some additional magic that's beyond RedCloth's basic capabilities, or I've missed something in terms of how I've configured RedCloth, or perhaps how my Ruby code is treating the textile content. Either way, this does not need to be a blocker for the aforementioned pull request to land.

To see what I'm talking about, take a look at my current rendering of the IDL section of the features spec.. The code-fence is rendering to HTML literally:

Screenshot 2022-10-02 at 18 50 27

If I look at our current docs site rendering then it renders a code element within a pre element (which, in itself seems a bit curious) producing the desired result:

Screenshot 2022-10-02 at 18 46 35

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildRelates to the tooling and/or scripts that render the HTML microsite published from here.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions