diff options
| author | Shulhan <ms@kilabit.info> | 2019-08-05 22:43:20 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-08-05 22:43:20 +0700 |
| commit | 616712b8a644fc346681d112ce3f866315371c83 (patch) | |
| tree | 42e514d8df8cb8b1821b78f968820890e0773acb /filehtml.go | |
| parent | f9fe8ce6ed15a05a7ee15a12ed34973f33372b72 (diff) | |
| download | ciigo-616712b8a644fc346681d112ce3f866315371c83.tar.xz | |
all: add support for markdown markup language
Due to the popularity of markdown format, we decide to support converting
markdown file in ciigo.
While at it ignore all files or directories that start with dot, which
are hidden file in unix-like system.
Diffstat (limited to 'filehtml.go')
| -rw-r--r-- | filehtml.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filehtml.go b/filehtml.go index 9e023ec..d88f2da 100644 --- a/filehtml.go +++ b/filehtml.go @@ -35,10 +35,10 @@ func (fhtml *fileHTML) reset() { } // -// unpackAdoc convert the asciidoc metadata to its HTML representation and +// unpackMarkup convert the markup metadata to its HTML representation and // rawBody to template.HTML. // -func (fhtml *fileHTML) unpackAdoc(fa *fileAdoc) { +func (fhtml *fileHTML) unpackMarkup(fa *markupFile) { fhtml.Metadata = make(map[string]string) for k, v := range fa.metadata { |
