Skip to content

Update pandoc on bots to get syntax highlighting in docs #5259

Closed

Description

@brson

Pandoc now includes Rust syntax highlighting (#3264) so if we build a new pandoc from cabal on the doc bots we should have syntax highlighted docs. Yay!

Note: let's test this first to make sure rustdoc actually does the highlighting correctly.

Activity

  1. steveklabnik commented on Jun 19, 2013

    @steveklabnik
    Contributor

    I think this is working now?

    You just use

    ~~~ {.rust}
    // some rust code
    ~~~
    

    And it works out, I think.

  2. thestinger commented on Jun 19, 2013

    @thestinger
    Contributor

    @steveklabnik: yup, it works locally with an up-to-date pandoc but the one used by the buildbot needs to be updated

  3. ghost assigned on Jun 29, 2013
  4. thestinger commented on Oct 14, 2013

    @thestinger
    Contributor

    We're no longer using pandoc for rustdoc, so we'll need another way of doing syntax highlighting.

  5. added a commit that references this issue on May 2, 2020
  6. added a commit that references this issue on Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions