Implement #+MACRO
This commit is contained in:
parent
2ab65d300a
commit
9f7e8a8fbd
9 changed files with 55 additions and 0 deletions
|
@ -360,3 +360,7 @@ func (w *OrgWriter) WriteRegularLink(l RegularLink) {
|
|||
w.WriteString(fmt.Sprintf("[[%s][%s]]", l.URL, w.WriteNodesAsString(l.Description...)))
|
||||
}
|
||||
}
|
||||
|
||||
func (w *OrgWriter) WriteMacro(m Macro) {
|
||||
w.WriteString(fmt.Sprintf("{{{%s(%s)}}}", m.Name, strings.Join(m.Parameters, ",")))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue