feat(parser): drawer parsing
This commit is contained in:
parent
fe591d2143
commit
6fa43f7571
8 changed files with 202 additions and 85 deletions
|
|
@ -28,6 +28,12 @@ pub trait HtmlHandler<W: Write, E: From<Error>> {
|
|||
fn section_end(&mut self, w: &mut W) -> Result<(), E> {
|
||||
Ok(write!(w, "</section>")?)
|
||||
}
|
||||
fn drawer_beg(&mut self, w: &mut W, name: &str) -> Result<(), E> {
|
||||
Ok(())
|
||||
}
|
||||
fn drawer_end(&mut self, w: &mut W) -> Result<(), E> {
|
||||
Ok(())
|
||||
}
|
||||
fn paragraph_beg(&mut self, w: &mut W) -> Result<(), E> {
|
||||
Ok(write!(w, "<p>")?)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue