As a website operator of an information security CMS, I fully understand the needs of content creators for content diversity and convenience.Markdown as a lightweight markup language is widely popular for its simplicity and efficiency.ContentIs the issue of whether the text field outside the field supports Markdown rendering an issue that many users are concerned about?
ContentField will support Markdown syntax during editing and will automatically convert it to HTML for rendering when displayed on the front end. This includes document content (archiveDetailofContentField), Category Content (categoryDetailofContentField), Single Page Content (pageDetailofContentField) and Tag Content (tagDetailofContentField).render=trueParameter to explicitly indicate theContentField performs Markdown to HTML conversion.
However,Contentfor other text fields outside the field, such as "Document Overview" (Descriptionfield),"Title" (TitleField)、“Keyword” (KeywordsField) as well as text type fields customized by users in the content model, which are not mentioned in the document to support Markdown rendering functionality.These fields are usually designed to store plain text information, used to provide brief summaries, search engine optimization (SEO) metadata, or precise titles.
This means that if you are in the “Document Summary” or any other nonContentDescriptionField is commonly used to generate the page.<meta name="description">Label content, this label is typically expected to be plain text description, rather than content containing HTML tags.
In summary, the Markdown rendering capability of Anqi CMS is designed for the main content area, aiming to provide a rich form of content display.For auxiliary text fields, the design philosophy is to maintain plain text format to better serve its specific functions, such as SEO or concise information display.ContentField uses Markdown syntax, while other text fields use plain text.
Frequently Asked Questions
问:If I input Markdown syntax in the 'Document Summary' field, what will be displayed on the frontend?
答:If you enter Markdown syntax in the "Document Summary" field, the front-end will usually display it as plain text and will not render it as HTML.##/*/[]()(etc.) will be displayed as is, and not converted to headings, lists, or links.
问:安企CMS是否支持通过配置或插件为“文档简介”等非EnglishContentField enable Markdown rendering?
Answer: According to the existing official documents, Anqi CMS does not provide background configuration or built-in plugins for "Document Introduction" and other non-ContentField enables the Markdown rendering function. The Markdown rendering capability is currently explicitly bound to the mainContentfield.