Skip to content

Conversation

killercup
Copy link
Contributor

This adds strictly more information to the source files and reduces the need for customized tooling to render the book. (While this should not change the output of rustbook, it is very useful when rendering the sources with external tools like Pandoc.)

This only adds the language marker to "first level" code blocks (and not to code blocks in comments inside of code examples).

r? @steveklabnik

This adds strictly more information to the source files and reduces the
need for customized tooling to render the book.

(While this should not change the output of _rustbook_, it is very
useful when rendering the sources with external tools like Pandoc.)
@steveklabnik
Copy link
Contributor

Thanks so much! ❤️

I've been meaning to do this, as it's convention. Also, for further work, i think there's some {rust}s lying around too... heh

@steveklabnik
Copy link
Contributor

@bors: r+

@bors
Copy link
Collaborator

bors commented May 18, 2015

📌 Commit 6f69cd6 has been approved by steveklabnik

@steveklabnik
Copy link
Contributor

@bors: rollup

@killercup
Copy link
Contributor Author

Oh, let me look for {rust} real quick and I'll fix those as well.

BTW, whats the convention? rust,ignore or {rust,ignore}?

@steveklabnik
Copy link
Contributor

It is now to never use the {}s, basically.

@killercup
Copy link
Contributor Author

Alright, I'll fix those as well.

`{rust,ignore}` -> `rust,ignore
@steveklabnik
Copy link
Contributor

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented May 18, 2015

📌 Commit f3adea5 has been approved by steveklabnik

steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 18, 2015
…=steveklabnik

This adds strictly more information to the source files and reduces the need for customized tooling to render the book. (While this should not change the output of _rustbook_, it is very useful when rendering the sources with external tools like Pandoc.)

This only adds the language marker to "first level" code blocks (and not to code blocks in comments inside of code examples).

r? @steveklabnik
Manishearth added a commit to Manishearth/rust that referenced this pull request May 19, 2015
…=steveklabnik

This adds strictly more information to the source files and reduces the need for customized tooling to render the book. (While this should not change the output of _rustbook_, it is very useful when rendering the sources with external tools like Pandoc.)

This only adds the language marker to "first level" code blocks (and not to code blocks in comments inside of code examples).

r? @steveklabnik
bors added a commit that referenced this pull request May 19, 2015
@bors bors merged commit f3adea5 into rust-lang:master May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants