mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
doc(log): fix typo
This commit is contained in:
parent
7c39efdb24
commit
cdc635376d
@ -4,7 +4,7 @@
|
||||
Due to package size, Naive UI doesn't include highlight.js. If you want highlight logs, make sure you have set highlightjs before using it.
|
||||
</n-alert>
|
||||
|
||||
In hightlight demo, we defined a language called `naive-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about hightlight.js, see <a href="https://highlightjs.org/">hightlight.js</a> and <a href="https://highlightjs.readthedocs.io/en/latest/index.html">highlight.js developer documentation</a>
|
||||
In hightlight demo, we defined a language called `naive-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about hightlight.js, see <n-a href="https://highlightjs.org/">hightlight.js</n-a> and <n-a href="https://highlightjs.readthedocs.io/en/latest/index.html">highlight.js developer documentation</n-a>
|
||||
```js
|
||||
...
|
||||
hljs.registerLanguage('naive-log', () => ({
|
||||
|
Loading…
Reference in New Issue
Block a user