draft: post about formatting lib
This commit is contained in:
parent
332fb13668
commit
153ba9f0c2
5 changed files with 699 additions and 5 deletions
|
@ -178,7 +178,7 @@ impl<'a> Writer<'a> {
|
|||
}
|
||||
out.push_str("<p");
|
||||
}
|
||||
Container::Heading { level, .. } => write!(out, "<h{level}")?,
|
||||
Container::Heading { level, id, .. } => write!(out, r#"<h{level} id="{id}""#)?,
|
||||
Container::TableCell { head: false, .. } => out.push_str("<td"),
|
||||
Container::TableCell { head: true, .. } => out.push_str("<th"),
|
||||
Container::Caption => out.push_str("<caption"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue