diff options
author | Joe Chen <jc@unknwon.io> | 2022-01-13 11:27:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 11:27:16 +0800 |
commit | 9ae80a6173132c54fb0fb9f094b3e472a10e1f3f (patch) | |
tree | 4ba9fd4de2fbba3a986a772e337ce71be9845636 /internal/markup/orgmode.go | |
parent | c8476b1c2e5dc8e430713722daa0bc4ba5e07103 (diff) |
chore: rename few consts to camel case (#6725)
Diffstat (limited to 'internal/markup/orgmode.go')
-rw-r--r-- | internal/markup/orgmode.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/markup/orgmode.go b/internal/markup/orgmode.go index 6fe1240a..467e455e 100644 --- a/internal/markup/orgmode.go +++ b/internal/markup/orgmode.go @@ -36,5 +36,5 @@ func RawOrgMode(body []byte, urlPrefix string) (result []byte) { // OrgMode takes a string or []byte and renders to HTML in Org-mode syntax with special links. func OrgMode(input interface{}, urlPrefix string, metas map[string]string) []byte { - return Render(ORG_MODE, input, urlPrefix, metas) + return Render(TypeOrgMode, input, urlPrefix, metas) } |