fixup! parse block elements
This commit is contained in:
		
					parent
					
						
							
								75b13597da
							
						
					
				
			
			
				commit
				
					
						8bdb598e6c
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -7,5 +7,6 @@ fn main() {
 | 
				
			||||||
        .expect("failed to read utf-8 file");
 | 
					        .expect("failed to read utf-8 file");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let p = jotdown::Parser::new(&src);
 | 
					    let p = jotdown::Parser::new(&src);
 | 
				
			||||||
    jotdown::html::write(std::io::stdout(), p).unwrap();
 | 
					    let mut out = std::io::BufWriter::new(std::io::stdout());
 | 
				
			||||||
 | 
					    jotdown::html::write(&mut out, p).unwrap();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue