Module rustdoc::markdown[][src]

Re-exports

use std::default::Default;
use std::fs::File;
use std::io::prelude::*;
use std::path::PathBuf;
use std::path::Path;
use errors;
use getopts;
use testing;
use rustc::session::search_paths::SearchPaths;
use rustc::session::config::Externs;
use rustc::session::config::CodegenOptions;
use syntax::codemap::DUMMY_SP;
use syntax::edition::Edition;
use externalfiles::ExternalHtml;
use externalfiles::LoadStringError;
use externalfiles::load_string;
use html::render::reset_ids;
use html::escape::Escape;
use html::markdown;
use html::markdown::Markdown;
use html::markdown::MarkdownWithToc;
use html::markdown::find_testable_code;
use test::TestOptions;
use test::Collector;

Functions

extract_leading_metadata

Separate any lines at the start of the file that begin with # or %.

render

Render input (e.g. "foo.md") into an HTML file in output (e.g. output = "bar" => "bar/foo.html").

test

Run any tests/code examples in the markdown file input.