diff --git a/cmd/mark2note/main.go b/cmd/mark2note/main.go index ccdecae..d586459 100644 --- a/cmd/mark2note/main.go +++ b/cmd/mark2note/main.go @@ -26,6 +26,11 @@ type Options = app.Options const xhsPublishMetaFilename = "xhs-publish-meta.json" +const ( + xhsContentModeNone = "none" + xhsContentModePageTitles = "page-titles" +) + func defaultOptions() Options { return Options{ OutDir: "output", @@ -82,6 +87,7 @@ Flags: --stop-before-submit for --publish-xhs, prepare Xiaohongshu editor then stop before final submit --prepare-xhs generate Xiaohongshu publish metadata after render without publishing --xhs-tags override auto-generated Xiaohongshu topics for --publish-xhs/--prepare-xhs + --xhs-content-mode XHS body generation for --publish-xhs/--prepare-xhs (none or page-titles) --xhs-mode override Xiaohongshu publish timing mode for --publish-xhs/--prepare-xhs (immediate or schedule) --xhs-visibility override Xiaohongshu visibility for --publish-xhs/--prepare-xhs (public or only-self) --xhs-schedule-at