WeChat Formatter
AI-generatedOverview
This node converts Markdown content into HTML formatted specifically for WeChat Official Accounts. It is useful for users who want to prepare and style Markdown text for publishing on WeChat, ensuring the output matches the selected visual theme. For example, a content creator can input Markdown text and choose a theme like 'Default (Blue Tech)' or 'Green Nature' to generate styled HTML ready for WeChat posts.
Use Case Examples
- Converting blog post drafts written in Markdown into WeChat-compatible HTML for official account publishing.
- Styling marketing content with different themes before posting on WeChat to match brand aesthetics.
Properties
| Name | Meaning |
|---|---|
| Markdown Content | The markdown content to convert into WeChat HTML. |
| Theme | The styling theme to apply to the converted HTML output. |
Output
JSON
html- The resulting HTML content formatted for WeChat Official Account.theme- The theme applied to the HTML content.
Dependencies
- Uses external template definitions and a Markdown-to-WeChat-HTML converter utility.
Troubleshooting
- If the Markdown content is invalid or the conversion fails, the node throws an error unless 'Continue On Fail' is enabled, in which case it outputs an error message in the JSON output under 'error'.
- Ensure the selected theme exists in the templates; otherwise, the default theme is used.
Links
- WeChat Official Account Documentation - Official documentation for WeChat Official Accounts, useful for understanding the HTML output context.