var searchIndex = {}; searchIndex["hoedown"] = {"doc":"This crate provides bindings for the [hoedown] markdown processing library.\n It has a `Markdown` type which stores markdown text in a `Buffer`. The\n markdown can then be rendered with any renderer that implements the `Render`\n trait. The library comes with an `Html` renderer by default.","items":[[3,"Extension","hoedown","Constants for the various Hoedown extensions",null,null],[3,"Buffer","","Buffer for holding markdown contents",null,null],[3,"Markdown","","Markdown document",null,null],[12,"contents","","",0,null],[12,"extensions","","",0,null],[12,"max_nesting","","",0,null],[11,"hash","","",1,null],[11,"cmp","","",1,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"empty","","Returns an empty set of flags.",1,{"inputs":[],"output":{"name":"extension"}}],[11,"all","","Returns the set containing all flags.",1,{"inputs":[],"output":{"name":"extension"}}],[11,"bits","","Returns the raw value of the flags currently stored.",1,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",1,{"inputs":[{"name":"u32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",1,{"inputs":[{"name":"u32"}],"output":{"name":"extension"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",1,null],[11,"is_all","","Returns `true` if all flags are currently set.",1,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",1,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",1,null],[11,"insert","","Inserts the specified flags in-place.",1,null],[11,"remove","","Removes the specified flags in-place.",1,null],[11,"toggle","","Toggles the specified flags in-place.",1,null],[11,"bitor","","Returns the union of the two sets of flags.",1,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",1,null],[11,"bitand","","Returns the intersection between the two sets of flags.",1,null],[11,"sub","","Returns the set difference of the two sets of flags.",1,null],[11,"not","","Returns the complement of this set of flags.",1,null],[11,"from_iter","","",1,{"inputs":[{"name":"t"}],"output":{"name":"extension"}}],[0,"ffi","","",null,null],[3,"hoedown_renderer","hoedown::ffi","",null,null],[12,"opaque","","",2,null],[12,"blockcode","","",2,null],[12,"blockquote","","",2,null],[12,"header","","",2,null],[12,"hrule","","",2,null],[12,"list","","",2,null],[12,"listitem","","",2,null],[12,"paragraph","","",2,null],[12,"table","","",2,null],[12,"table_header","","",2,null],[12,"table_body","","",2,null],[12,"table_row","","",2,null],[12,"table_cell","","",2,null],[12,"footnotes","","",2,null],[12,"footnote_def","","",2,null],[12,"blockhtml","","",2,null],[12,"autolink","","",2,null],[12,"codespan","","",2,null],[12,"double_emphasis","","",2,null],[12,"emphasis","","",2,null],[12,"underline","","",2,null],[12,"highlight","","",2,null],[12,"quote","","",2,null],[12,"image","","",2,null],[12,"linebreak","","",2,null],[12,"link","","",2,null],[12,"triple_emphasis","","",2,null],[12,"strikethrough","","",2,null],[12,"superscript","","",2,null],[12,"footnote_ref","","",2,null],[12,"math","","",2,null],[12,"raw_html","","",2,null],[12,"entity","","",2,null],[12,"normal_text","","",2,null],[12,"doc_header","","",2,null],[12,"doc_footer","","",2,null],[3,"hoedown_html_renderer_state","","",null,null],[3,"hoedown_buffer","","",null,null],[12,"data","","",3,null],[12,"size","","",3,null],[12,"asize","","",3,null],[12,"unit","","",3,null],[5,"hoedown_html_renderer_new","","",null,null],[5,"hoedown_html_toc_renderer_new","","",null,null],[5,"hoedown_html_smartypants","","",null,null],[5,"hoedown_html_renderer_free","","",null,null],[5,"hoedown_document_new","","",null,null],[5,"hoedown_document_render","","",null,null],[5,"hoedown_document_render_inline","","",null,null],[5,"hoedown_document_free","","",null,null],[5,"hoedown_buffer_new","","",null,null],[5,"hoedown_buffer_put","","",null,null],[5,"hoedown_buffer_free","","",null,null],[6,"hoedown_document","","",null,null],[11,"clone","","",2,null],[11,"clone","","",3,null],[11,"new","hoedown","Create a buffer with the specified unit allocation size.",4,{"inputs":[{"name":"usize"}],"output":{"name":"buffer"}}],[11,"read_from","","Construct a markdown document from a given Reader",4,{"inputs":[{"name":"r"}],"output":{"name":"buffer"}}],[11,"is_empty","","Check if the buffer is empty",4,null],[11,"len","","The length of the contents inside the buffer",4,null],[11,"as_ptr","","Get a raw constant pointer to the buffer data",4,null],[11,"pipe","","Pipe another buffer's contents into this one",4,null],[11,"to_str","","Attempt to get a string from the buffer's contents",4,null],[11,"drop","","",4,null],[11,"clone","","",4,null],[11,"read","","",4,null],[11,"write","","",4,null],[11,"flush","","",4,null],[11,"from","","Create a buffer from bytes",4,null],[11,"from","","Create a buffer from a string",4,{"inputs":[{"name":"str"}],"output":{"name":"buffer"}}],[11,"from","","Create a 'read-only' buffer from the given `hoedown_buffer`",4,null],[11,"deref","","",4,null],[11,"deref_mut","","",4,null],[11,"as_ref","","Get a slice of the buffer's contents",4,null],[11,"as_mut","","Get a mutable slice of the buffer's contents",4,null],[11,"as_ref","","Get a reference to the underlying buffer",4,null],[11,"as_mut","","Get a mutable reference to the underlying buffer",4,null],[0,"renderer","","Contains Render behavior and stock renderers",null,null],[4,"Table","hoedown::renderer","The table alignment or position",null,null],[13,"Left","","",5,null],[13,"Right","","",5,null],[13,"Center","","",5,null],[13,"Mask","","",5,null],[13,"Header","","",5,null],[4,"AutoLink","","The type of an autolink candidate",null,null],[13,"Normal","","",6,null],[13,"Email","","",6,null],[0,"list","","Flags that describe a list or list item",null,null],[3,"List","hoedown::renderer::list","Flags that describe a list or list item",null,null],[17,"ORDERED","","An ordered list or list item",null,null],[17,"BLOCK","","A list item that contains a block",null,null],[11,"hash","","",7,null],[11,"cmp","","",7,null],[11,"partial_cmp","","",7,null],[11,"lt","","",7,null],[11,"le","","",7,null],[11,"gt","","",7,null],[11,"ge","","",7,null],[11,"clone","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"fmt","","",7,null],[11,"empty","","Returns an empty set of flags.",7,{"inputs":[],"output":{"name":"list"}}],[11,"all","","Returns the set containing all flags.",7,{"inputs":[],"output":{"name":"list"}}],[11,"bits","","Returns the raw value of the flags currently stored.",7,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",7,{"inputs":[{"name":"u32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",7,{"inputs":[{"name":"u32"}],"output":{"name":"list"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",7,null],[11,"is_all","","Returns `true` if all flags are currently set.",7,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",7,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",7,null],[11,"insert","","Inserts the specified flags in-place.",7,null],[11,"remove","","Removes the specified flags in-place.",7,null],[11,"toggle","","Toggles the specified flags in-place.",7,null],[11,"bitor","","Returns the union of the two sets of flags.",7,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",7,null],[11,"bitand","","Returns the intersection between the two sets of flags.",7,null],[11,"sub","","Returns the set difference of the two sets of flags.",7,null],[11,"not","","Returns the complement of this set of flags.",7,null],[11,"from_iter","","",7,{"inputs":[{"name":"t"}],"output":{"name":"list"}}],[0,"wrapper","hoedown::renderer","",null,null],[8,"Wrapper","hoedown::renderer::wrapper","",null,null],[16,"Base","","",8,null],[10,"base","","",8,null],[11,"code_block","","",8,null],[11,"quote_block","","",8,null],[11,"header","","",8,null],[11,"horizontal_rule","","",8,null],[11,"list","","",8,null],[11,"list_item","","",8,null],[11,"paragraph","","",8,null],[11,"table","","",8,null],[11,"table_header","","",8,null],[11,"table_body","","",8,null],[11,"table_row","","",8,null],[11,"table_cell","","",8,null],[11,"footnotes","","",8,null],[11,"footnote_definition","","",8,null],[11,"html_block","","",8,null],[11,"autolink","","",8,null],[11,"code_span","","",8,null],[11,"double_emphasis","","",8,null],[11,"emphasis","","",8,null],[11,"underline","","",8,null],[11,"highlight","","",8,null],[11,"quote_span","","",8,null],[11,"image","","",8,null],[11,"line_break","","",8,null],[11,"link","","",8,null],[11,"triple_emphasis","","",8,null],[11,"strikethrough","","",8,null],[11,"superscript","","",8,null],[11,"footnote_reference","","",8,null],[11,"math","","",8,null],[11,"html_span","","",8,null],[11,"entity","","",8,null],[11,"normal_text","","",8,null],[11,"before_render","","",8,null],[11,"after_render","","",8,null],[0,"html","hoedown::renderer","Contains the html renderer and utilities",null,null],[3,"Flags","hoedown::renderer::html","Information about a list item",null,null],[3,"Html","","HTML renderer",null,null],[5,"smartypants","","Performs "smartypants" processing of the provided buffer.",null,{"inputs":[{"name":"buffer"},{"name":"buffer"}],"output":null}],[17,"SKIP_HTML","","Ignore raw html",null,null],[17,"ESCAPE","","Ignore raw html blocks and escape html spans",null,null],[17,"HARD_WRAP","","Insert breaks inside paragraphs for every newline",null,null],[17,"USE_XHTML","","Output XHTML",null,null],[11,"hash","","",9,null],[11,"cmp","","",9,null],[11,"partial_cmp","","",9,null],[11,"lt","","",9,null],[11,"le","","",9,null],[11,"gt","","",9,null],[11,"ge","","",9,null],[11,"clone","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",9,null],[11,"empty","","Returns an empty set of flags.",9,{"inputs":[],"output":{"name":"flags"}}],[11,"all","","Returns the set containing all flags.",9,{"inputs":[],"output":{"name":"flags"}}],[11,"bits","","Returns the raw value of the flags currently stored.",9,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",9,{"inputs":[{"name":"u32"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",9,{"inputs":[{"name":"u32"}],"output":{"name":"flags"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",9,null],[11,"is_all","","Returns `true` if all flags are currently set.",9,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",9,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",9,null],[11,"insert","","Inserts the specified flags in-place.",9,null],[11,"remove","","Removes the specified flags in-place.",9,null],[11,"toggle","","Toggles the specified flags in-place.",9,null],[11,"bitor","","Returns the union of the two sets of flags.",9,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",9,null],[11,"bitand","","Returns the intersection between the two sets of flags.",9,null],[11,"sub","","Returns the set difference of the two sets of flags.",9,null],[11,"not","","Returns the complement of this set of flags.",9,null],[11,"from_iter","","",9,{"inputs":[{"name":"t"}],"output":{"name":"flags"}}],[11,"new","","Construct a new html renderer given the provided html flags\nand table of contents nesting level.",10,{"inputs":[{"name":"flags"},{"name":"i32"}],"output":{"name":"html"}}],[11,"toc","","Construct a table of contents renderer.",10,{"inputs":[{"name":"i32"}],"output":{"name":"html"}}],[11,"get","","Get a reference to the underlying hoedown renderer",10,null],[11,"as_mut","","Get a mutable reference to the underlying hoedown renderer",10,null],[11,"to_hoedown","","",10,null],[11,"code_block","","",10,null],[11,"quote_block","","",10,null],[11,"header","","",10,null],[11,"horizontal_rule","","",10,null],[11,"list","","",10,null],[11,"list_item","","",10,null],[11,"paragraph","","",10,null],[11,"table","","",10,null],[11,"table_header","","",10,null],[11,"table_body","","",10,null],[11,"table_row","","",10,null],[11,"table_cell","","",10,null],[11,"footnotes","","",10,null],[11,"footnote_definition","","",10,null],[11,"html_block","","",10,null],[11,"autolink","","",10,null],[11,"code_span","","",10,null],[11,"double_emphasis","","",10,null],[11,"emphasis","","",10,null],[11,"underline","","",10,null],[11,"highlight","","",10,null],[11,"quote_span","","",10,null],[11,"image","","",10,null],[11,"line_break","","",10,null],[11,"link","","",10,null],[11,"triple_emphasis","","",10,null],[11,"strikethrough","","",10,null],[11,"superscript","","",10,null],[11,"footnote_reference","","",10,null],[11,"math","","",10,null],[11,"html_span","","",10,null],[11,"entity","","",10,null],[11,"normal_text","","",10,null],[11,"before_render","","",10,null],[11,"after_render","","",10,null],[11,"drop","","",10,null],[0,"trace","hoedown::renderer","",null,null],[3,"Trace","hoedown::renderer::trace","This renderer implements the block handlers\nto make it easy to determine which handlers need to be implemented\nfor a given document.",null,null],[11,"code_block","","",11,null],[11,"quote_block","","",11,null],[11,"header","","",11,null],[11,"horizontal_rule","","",11,null],[11,"list","","",11,null],[11,"list_item","","",11,null],[11,"paragraph","","",11,null],[11,"table","","",11,null],[11,"table_header","","",11,null],[11,"table_body","","",11,null],[11,"table_row","","",11,null],[11,"table_cell","","",11,null],[11,"footnotes","","",11,null],[11,"footnote_definition","","",11,null],[11,"html_block","","",11,null],[8,"Render","hoedown::renderer","Represents render behavior",null,null],[11,"render","","Render the document to a buffer that is returned",12,null],[11,"render_to","","Render the document into the given buffer",12,null],[11,"render_inline","","Render the document as inline to a buffer that is returned",12,null],[11,"render_inline_to","","Render the document as inline into the given buffer",12,null],[11,"to_hoedown","","Converts the type into an underlying `hoedown_renderer` structure.",12,null],[11,"code_block","","Runs when a codeblock is encountered",12,null],[11,"quote_block","","Runs when a block quote is encountered",12,null],[11,"header","","Runs when a header is encountered",12,null],[11,"horizontal_rule","","Runs when a horizontal rule is encountered",12,null],[11,"list","","Runs when a list is encountered.",12,null],[11,"list_item","","Runs when a list item is encountered.",12,null],[11,"paragraph","","Runs when a paragraph is encountered.",12,null],[11,"table","","Runs when a table is encountered.",12,null],[11,"table_header","","Runs when a table header is encountered.",12,null],[11,"table_body","","Runs when a table body is encountered.",12,null],[11,"table_row","","Runs when a table row is encountered.",12,null],[11,"table_cell","","Runs when a table cell is encountered.",12,null],[11,"footnotes","","Runs when footnotes are encountered.",12,null],[11,"footnote_definition","","Runs when a footnote definition is encountered.",12,null],[11,"html_block","","Runs when a raw html block is encountered.",12,null],[11,"autolink","","Runs when an autolink candidate is encountered.",12,null],[11,"code_span","","Runs when a code span is encountered.",12,null],[11,"double_emphasis","","Runs when double emphasis is encountered.",12,null],[11,"emphasis","","Runs when emphasis is encountered.",12,null],[11,"underline","","Runs when underline is encountered.",12,null],[11,"highlight","","Runs when highlight is encountered.",12,null],[11,"quote_span","","Runs when a quote is encountered.",12,null],[11,"image","","Runs when an image is encountered.",12,null],[11,"line_break","","Runs when a line break is encountered.",12,null],[11,"link","","Runs when a link is encountered.",12,null],[11,"triple_emphasis","","Runs when triple emphasis is encountered.",12,null],[11,"strikethrough","","Runs when strikethrough is encountered.",12,null],[11,"superscript","","Runs when superscript is encountered.",12,null],[11,"footnote_reference","","Runs when a footnote reference is encountered.",12,null],[11,"math","","Runs when math is encountered.",12,null],[11,"html_span","","Runs when raw html span is encountered.",12,null],[11,"entity","","Runs when an html entity is encountered.",12,null],[11,"normal_text","","Runs when plain text is encountered.",12,null],[11,"before_render","","Runs before the document is processed.",12,null],[11,"after_render","","Runs after the document has been processed.",12,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",6,null],[11,"fmt","","",6,null],[11,"clone","hoedown","",0,null],[11,"new","","",0,{"inputs":[{"name":"str"}],"output":{"name":"markdown"}}],[11,"read_from","","Construct a markdown document from a given Reader",0,{"inputs":[{"name":"r"}],"output":{"name":"markdown"}}],[11,"extensions","","Builder method to specify Hoedown extensions",0,null],[11,"max_nesting","","Builder method to specify the maximum block depth to parse",0,null],[11,"from","","",0,{"inputs":[{"name":"buffer"}],"output":{"name":"markdown"}}],[11,"from","","",0,null],[17,"TABLES","","Process table syntax",null,null],[17,"FENCED_CODE","","Process fenced code",null,null],[17,"FOOTNOTES","","Process footnotes",null,null],[17,"AUTOLINK","","Automatically link URLs and emails",null,null],[17,"STRIKETHROUGH","","Enable strikethrough syntax, e.g. `~~strike one~~`",null,null],[17,"UNDERLINE","","Perform an underline instead of emphasis",null,null],[17,"HIGHLIGHT","","Process highlight syntax, e.g. `==highlight me==`",null,null],[17,"QUOTE","","Render quotes differently, e.g. the html renderer may use the `<q>` tag",null,null],[17,"SUPERSCRIPT","","Process superscript syntax, e.g. `2^3 = 8`",null,null],[17,"MATH","","Process math syntax, e.g. `$$x + y = z$$`",null,null],[17,"NO_INTRA_EMPHASIS","","Don't parse emphasis inside of words, e.g. `foo_bar_baz` won't emphasize the 'bar'",null,null],[17,"SPACE_HEADERS","","Process ATX header syntax, e.g. `# Topic`",null,null],[17,"MATH_EXPLICIT","","Process the single dollar math syntax, e.g. `$x + y = 3$`",null,null],[17,"DISABLE_INDENTED_CODE","","Ignore indented code blocks",null,null],[14,"wrap!","","",null,null]],"paths":[[3,"Markdown"],[3,"Extension"],[3,"hoedown_renderer"],[3,"hoedown_buffer"],[3,"Buffer"],[4,"Table"],[4,"AutoLink"],[3,"List"],[8,"Wrapper"],[3,"Flags"],[3,"Html"],[3,"Trace"],[8,"Render"]]}; initSearch(searchIndex);