Created in 2004 by John Gruber as a lightweight markup language, Markdown is now one of the most popular markup languages in the world, allowing users to write expressive documents using concise syntax.
As a technical community dedicated to developers, Nuggets has long supported the Markdown editor, and while there are rich text editors available for users to choose from, at Nuggets we now recommend using the Markdown editor.
The new version editor is here
To do a good job, he must sharpen his tools.
In order to make digg friends better create excellent content, our product sister enthusiastically collected everyone’s feedback and suggestions on the editor; The first version of the editor mainly optimizes some historical experience problems and adds some common functions. Please look forward to the update of the subsequent version of more functional support. A preview of the new version is shown below:
Overview of major update functions
-
Quick access to the top of common shortcut keys
If you can’t remember the shortcut keys, you can use common functions with one click.
-
Support for inline and block-level formulas
Feel free to add formulas to your article if you are plagued by them.
-
Support Merida charts
Support for a variety of S03e04 charts, which you can use to better express the content of S03e04. For more information about S03E04, see the documentation.
An example is shown below:
-
Support for various theme styles
If you want to change your code theme, you can choose from the list so that you can choose the most appropriate style and theme for your article.
At present, enthusiastic digger friends have contributed more than ten themes, successful contribution and PR successful partners can add your theme in the theme list!! Come and experience it! If you want to contribute to the theme, you can refer to the tutorial of Digyou’s contribution:Hand to teach you to develop nuggets article topic
-
Supports more than 100 code highlighting styles
You can also specify the theme using highlight, and you can use all the styles in highlight.js:
- The style list
- Style preview
-
Support for article catalog preview
Help digg friends to quickly locate the relevant chapter of the article, click the icon to open the catalog, click again to close the catalog.
-
Supports multiple preview view switching
-
Edit-only support: You can write articles in the editor – only mode by clicking on the icon to open the edit-only area and clicking again to restore the default.
-
Support full screen view: You can write and preview articles in full screen mode, click the icon to open the full screen mode, click again to exit the full screen.
-
Support synchronous scrolling and asynchronous scrolling: check synchronous scrolling, edit area and preview area together, uncheck, two screen asynchronous scrolling.
About the supported Markdown syntax
In terms of Markdown syntax, the new version of the Nuggets Markdown editor integrates the official Markdown syntax, and makes some optimizations and adjustments according to its own usage scenarios. Due to the limited space for more detailed use methods please refer to the mining pamphlet official use documents.
About open source
The editor for this update is open source and has been translated into multiple languages. If you are interested, please come to star or contribute. Open source: github.com/bytedance/b…
The last
Digg friends’ continuous feedback & suggestions have been the power to support our continuous optimization.
Please fill in the 👉👉👉 feedback questionnaire to help optimize the editor