Misc cleanup: SETUP_FILE -> SETUPFILE, empty example lines, ...
This commit is contained in:
parent
d1054063cf
commit
bc9c496f97
11 changed files with 17 additions and 15 deletions
|
@ -191,8 +191,10 @@ func (w *OrgWriter) writeParagraph(p Paragraph) {
|
|||
|
||||
func (w *OrgWriter) writeExample(e Example) {
|
||||
for _, n := range e.Children {
|
||||
w.WriteString(w.indent + ":" + " ")
|
||||
w.writeNodes(n)
|
||||
w.WriteString(w.indent + ":")
|
||||
if content := w.nodesAsString(n); content != "" {
|
||||
w.WriteString(" " + content)
|
||||
}
|
||||
w.WriteString("\n")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue