Skip to content

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

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

Closed
brson opened this issue Mar 7, 2013 · 3 comments
Closed

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

brson opened this issue Mar 7, 2013 · 3 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@brson
Copy link
Contributor

brson commented Mar 7, 2013

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.

@steveklabnik
Copy link
Member

I think this is working now?

You just use

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

And it works out, I think.

@thestinger
Copy link
Contributor

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

@ghost ghost assigned graydon Jun 29, 2013
@thestinger
Copy link
Contributor

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

bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
Use lang items instead of get_trait_def_id where possible

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

4 participants