Skip to content

Commit

Permalink
Set hoedown to generate error index
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 22, 2017
1 parent 80a2a94 commit 295f25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/error_index_generator/main.rs
Expand Up @@ -24,7 +24,7 @@ use std::path::PathBuf;

use syntax::diagnostics::metadata::{get_metadata_dir, ErrorMetadataMap, ErrorMetadata};

use rustdoc::html::markdown::{Markdown, PLAYGROUND};
use rustdoc::html::markdown::{Markdown, PLAYGROUND, RenderType};
use rustc_serialize::json;

enum OutputFormat {
Expand Down Expand Up @@ -100,7 +100,7 @@ impl Formatter for HTMLFormatter {

// Description rendered as markdown.
match info.description {
Some(ref desc) => write!(output, "{}", Markdown(desc))?,
Some(ref desc) => write!(output, "{}", Markdown(desc, RenderType::Hoedown))?,
None => write!(output, "<p>No description.</p>\n")?,
}

Expand Down

0 comments on commit 295f25b

Please sign in to comment.