Skip to content

Commit

Permalink
DOC: mdExporter
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroO2000 committed May 19, 2024
1 parent 457edd8 commit 83b712a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions md_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
md "github.com/nao1215/markdown"
)

// ExportToMarkdown exports the given [Network] to a markdown document.
// It writes the markdown document to the given [io.Writer].
func ExportToMarkdown(network *Network, w io.Writer) error {
mdWriter := md.NewMarkdown(w)
exporter := newMDExporter(mdWriter)
Expand Down

0 comments on commit 83b712a

Please sign in to comment.