Skip to content

Markdown preformat parsing issue on GameObjectFactory.timeline docs page #7288

@enderandpeter

Description

@enderandpeter

I'm not sure where exactly it stems from, but there's a small markdown issue regarding the section for GameObjectFactory.timeline (which comes from Timeline.Time). Right after the text "The Timeline can also be looped with the repeat method" on line 872, the website shows the un-parsed ```js at the end of this line, even though it's on the next line in the source code.

Here is what I see on the page right now:

Image

As a result, the preformatted code styling is incorrectly applied to everything after this until the line "You don't have to 'preload' the video." for VideoFactory. Also a handful of TOC headings are missing on the right side because the content was mistakenly interpreted as preformatted text:

Image

Again, hard to say exactly how/where this happens, but I have a slight feeling that on line 872 there should be a new line before the preformatted JS starts because even though markdown's standards don't mind, I think the thing creating the HTML from the markdown is more opinionated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions