Implement result blocks
This commit is contained in:
parent
232c27327c
commit
f6f4646d45
8 changed files with 66 additions and 0 deletions
|
@ -136,6 +136,8 @@ func (w *HTMLWriter) WriteBlock(b Block) {
|
|||
}
|
||||
}
|
||||
|
||||
func (w *HTMLWriter) WriteResult(r Result) { WriteNodes(w, r.Node) }
|
||||
|
||||
func (w *HTMLWriter) WriteInlineBlock(b InlineBlock) {
|
||||
content := w.blockContent(strings.ToUpper(b.Name), b.Children)
|
||||
switch b.Name {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue