After updating the AnQiCMS version, will the configuration and integration of Markdown, formulas, and flowcharts be retained or need to be reconfigured?

Calendar 👁️ 58

As an experienced CMS website operation personnel of AnQi, I fully understand your concern for the continuity of content display and configuration during system upgrades.Markdown, mathematical formulas, and flowcharts are an important part of modern content creation. Whether their configuration can seamlessly connect after version updates is a concern for many operators.Next, I will elaborate on this consideration based on my in-depth understanding of AnQiCMS.


AnQiCMS updated Markdown, formula, and flowchart configuration continuity analysis

In the daily operation of AnQi CMS, we deeply understand the importance of the choice of content editor and its extended functions.AnQiCMS introduces a Markdown editor, and supports integration of mathematical formulas and flowcharts through third-party plugins, greatly enriching the expression of content.However, when it comes to system version updates, whether these configurations will be retained requires us to analyze from several different levels in detail.

The core mechanism of AnQi CMS for processing Markdown content lies in its backend content editor.According to the existing document description, the new Anqi CMS has added a Markdown editor, and the 'Content' field will automatically convert the content to html when the Markdown editor is enabled.This indicates that the conversion of Markdown text to HTML is a process controlled by the backend, which depends on the enable status of the Markdown editor on the "Content Settings" page in the "Global Settings" of the AnQiCMS backend.

And the display mechanism of mathematical formulas and flowcharts is different, the document clearly states that they all need to be supported by third-party plugins to display normally.This means that in addition to the backend parsing of Markdown, your website's frontend also needs to integrate specific JavaScript libraries (such as MathJax for formulas, Mermaid for flowcharts) and corresponding CSS styles to correctly render these advanced contents.These frontend integrations are usually in the template files of the website (such asbase.htmlManually add CDN links or local scripts in it.

An analysis of the retention of configurations after version updates can be made based on the above mechanisms:

first, About the enable status and backend parsing capabilities of the Markdown editor.The "Enable Markdown Editor" setting of AnqiCMS is stored in the system configuration and is usually retained in the database with the update of the core program.Unless the update log explicitly states that this type of user configuration will be reset, the setting is usually not changed.This means that if your content is stored in Markdown format and the Markdown editor is enabled before the update, the content will still be correctly parsed into HTML after the update.

secondly,About the frontend rendering configuration of mathematical formulas and flowcharts.This is the part you need to pay special attention to. Since these rendering features depend on the third-party library references you manually add to the template file, whether the configuration is retained or not directly depends on the template processing method during the update process:

If you choose to update the AnQiCMS core programKeep the custom template you are currently using, do not replace or updateall thebase.htmlThe MathJax, Mermaid scripts, and Markdown style CDN links manually added to other related template files will continue to exist.In this case, as long as the backend Markdown editor remains enabled and the content itself is in the correct Markdown format (including formula and flowchart syntax), the display of these advanced contents on the front end will not be affected, and the configuration does not need to be re-established.

However, if you update the AnQiCMS core program at the same time,choose to update, replace, or switch to a completely new templateIt is likely that the new template file does not include the integration code for the mathematical formulas and flowcharts that you manually added before.Because the default template provided by the official or the new third-party template usually only includes basic functions, it will not pre-integrate all possible third-party libraries.In this case, you will need to re-followhelp-markdown.mdThe guidance in the document, manually adding the relevant code for MathJax and Mermaid to the new template againbase.htmlIn the file, make sure the Markdown editor is enabled in the background "Global Settings".

Suggested steps and procedures:

To ensure that the updated content displays correctly, regardless of the update strategy you choose, I suggest the following operations after updating the AnQiCMS version:

  1. Check background settings:Log in to the AnQi CMS backend, go to "Global Settings" -> "Content Settings", and confirm that the "Enable Markdown Editor" option is still enabled.
  2. Backup the template file: Before performing any system updates or template replacements, please ensure that you backup your current template folder. This includespublic/static/static resources in the directory./templateAll template files under the directory, especially those you may have modifiedbase.htmlor other core templates.
  3. Verify front-end rendering:After updating, immediately access the page containing mathematical formulas and flowcharts to check if its display is normal on the front end.
  4. Re-integrate (if necessary):If you find that the formula or flowchart is not rendered correctly, refer tohelp-markdown.mdthe document, check yourbase.htmlOr the current basic template file, make sure that the CDN references to MathJax and Mermaid have been added correctly.

In summary, the AnqiCMS's ability to parse Markdown content on the backend will remain stable after version updates, but the frontend rendering of mathematical formulas and flowcharts is highly dependent on manual integration in the template files.Manage your template files carefully during the update process, and perform the necessary checks and reconfiguration after the update to ensure a smooth transition of content.


Frequently Asked Questions (FAQ)

1. I upgraded AnQiCMS, but the original mathematical formulas and flowcharts on the website cannot be displayed. What is the reason?This usually happens because you updated or replaced the template files of the website during the upgrade process, which caused the JavaScript code and CSS styles used to render mathematical formulas (such as MathJax) and flowcharts (such as Mermaid) in the template to be lost. You need to followhelp-markdown.mdDocument guidance, re-add the references to these third-party libraries to the template file you are currently using (for examplebase.htmlPlease check if the Markdown editor is enabled in the "Global Settings" -> "Content Settings" of the Anqi CMS backend.

2. Even if I have enabled the Markdown editor, the Markdown syntax in the content is still not converted to HTML, what is the problem?Firstly, make sure that your content is indeed written in Markdown syntax.If confirmed without any errors, and the Markdown editor is enabled but the content has not been converted, it may be due to cache issues.Please try to clear the browser cache and the system cache of the CMS backend.If the problem persists, it may be necessary to checktag-/anqiapi-archive/142.htmlinContentThe field's invocation method, ensure it is not explicitly set torender=falseor check if there is other custom logic interfering with the default Markdown rendering.

3. Will my old content be automatically converted to Markdown if I upgrade from an old version, and I haven't used the Markdown editor before, and now the new version has it?I won't. After AnQiCMS adds the Markdown editor, you can choose to use Markdown format when creating or editing content in the background.But your existing content, if it was initially entered in plain text or rich text (HTML) format, the system will not automatically convert it to Markdown format.You need to manually edit this old content and convert it to Markdown syntax in order to use the Markdown editor for management and rendering.

Related articles

How to configure Markdown, formula, and flowchart features under the multi-site management mode of AnQi CMS?

As an expert who deeply understands the operation of AnQiCMS, I know that content quality is the core factor to attract and retain users.Under the multi-site management model, how to efficiently and flexibly use various forms of content expression has become an important topic in our daily work.Markdown, mathematical formulas, and flowcharts, these advanced content creation tools can greatly enhance the professionalism and readability of the content.Below, I will elaborate on how to configure these features in the Anqi CMS multi-site environment.

2025-11-06

How to customize the CSS style of Markdown rendering instead of using the default `github-markdown.min.css`?

AnQi CMS is an efficient and customizable content management system that provides great flexibility in content display.For content creation, we are well aware of the convenience and popularity of Markdown.The new version of AnQi CMS also fully supports Markdown editor and can render its content into HTML. By default, it will load `github-markdown.min.css` to provide consistent and beautiful styles.However, as website operators, we often encounter the need to consider brand image, user experience, or specific business requirements

2025-11-06

Does AnQi CMS Markdown editor support inserting images, videos, and other multimedia content?

As an experienced Anq CMS website operator, I am glad to be able to provide you with a detailed explanation of the multimedia content support of the Anq CMS content editor.In AnQi CMS, the design of the content editor is aimed at providing operators with an efficient and diverse creative experience, it indeed supports the insertion of images, videos, and other types of multimedia content.The Anqi CMS provides a variety of tools to meet the multimedia content needs of website operations.

2025-11-06

When should the `render=false` parameter be used in Markdown content fields to prevent automatic rendering?

As an experienced security CMS website operations personnel, I deeply understand that the subtlety of content presentation lies in how to accurately meet user needs while maintaining technical flexibility.About using the `render=false` parameter in the Markdown content field to prevent automatic rendering, this is indeed a very practical and worthy of in-depth exploration feature.

2025-11-06

Do all existing articles automatically render to Markdown after enabling Markdown editor in content settings?

In the daily operation of Anqi CMS, the flexible choice of content editing methods is a key factor in improving efficiency and the publication experience.Many operations personnel explore after enabling the Markdown editor, and naturally, they will have a question: Will all the content we have published, including those created with the rich text editor before, be automatically rendered in Markdown format once this feature is activated? ### The content processing mechanism of AnQi CMS AnQi CMS adopts a flexible strategy when processing website content.

2025-11-06

Does AnQi CMS support advanced features such as tables, code blocks, lists, etc. in its Markdown function?

As a senior AnQi CMS website operations personnel, I fully understand the importance of efficient content tools for attracting and retaining users.During the process of content creation and publication, the richness of the editor's features is often a key factor in determining work efficiency and the expressiveness of content.Regarding whether the Anqi CMS Markdown feature supports advanced features such as tables, code blocks, lists, and so on, this is a concern for many content creators.

2025-11-06

How to embed custom HTML code in the Markdown content of Anqi CMS without escaping?

As a website operator familiar with Anqi CMS, I am well aware of the importance of flexibility and control in the content creation process for presenting high-quality content.Especially when it is necessary to seamlessly integrate custom HTML code into Markdown content, mastering the correct handling method is indispensable.AnQiCMS as an enterprise-level content management system has achieved a good balance between content rendering and security.I will introduce in detail how to embed custom HTML code in the Markdown content of AnQiCMS without being escaped

2025-11-06

Does `MathJax` and `Mermaid` require additional configuration to preview the effects in the Anqi CMS backend editor?

As an experienced Anqi CMS website operations personnel, I am well aware of the importance of content presentation and how to use the system's features to provide a ** browsing experience for readers.Regarding the question you raised about whether additional configuration is needed for the preview effect of MathJax and Mermaid in the Anqi CMS backend editor, combined with the latest system documentation, I can elaborate on it for you.Firstly, AnQi CMS has introduced support for Markdown editors in the latest version, which undoubtedly greatly enhances the efficiency and flexibility of content creators.Using Markdown editor

2025-11-06