Theme is introduced

A custom theme for the Nugget Markdown article editor is now available.

Now go to the article writing interface and you will see the following default string of code.

Where theme indicates the theme style and highlight indicates the code highlighting style.

List of available topics

The available topics are listed here, and more will be added.

  • Juejin (default theme)
  • github
  • smartblue
  • cyanosis
  • channing-cyan

Code highlights recommendations

Code highlighting style (recommended)

  • Vs2015 (understand all understand, do not understand I also do not say 🤣)
  • Vs (white background)
  • Atom-one-dark (for those of you who have used Atom)
  • Atom-one-dark-reason-reasonable
  • Monokai-sublime (as the name suggests)
  • Gradient-darkcareful)
  • Gradient-light (blind two pieces – brightcareful)
  • More highlighted style lists

How do YOU use themes in your essay

The theme changes will be rendered in real time in the preview screen on the right

The code highlighting style changes will be rendered in real time in the preview screen on the right

The theme preview

Previews of supported themes (click to enlarge)

github cyanosis
smartblue channing-cyan

How can I contribute to the article topic

Of course, you also want to be eager to contribute your own theme for the nuggets, so you can refer to @Lin Xiaoshuai’s article “hand touch hand teach you to develop nuggets article theme”.

We hope that everyone will abide by the open source rules while contributing to the topic, and try to avoid unauthorized/plagiarized content.

Everyone is welcome to use the topic of the article using gold, and suggestions for changes are also welcome!