mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-17 19:27:41 +01:00
docs(packages/lucide-static): update docs for better clarity (#3225)
* docs(packages/lucide-static): update docs for better clarity * docs(packages/lucide-static): fix node.js heading level
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { bundledLanguages, type ThemeRegistration } from 'shikiji';
|
||||
import { getHighlighter } from 'shikiji';
|
||||
import { bundledLanguages, getHighlighter, type ThemeRegistration } from 'shikiji';
|
||||
|
||||
type CodeExampleType = {
|
||||
title: string;
|
||||
@@ -102,13 +101,8 @@ import { LucideAngularModule, $PascalCase } from 'lucide-angular';
|
||||
},
|
||||
{
|
||||
language: 'html',
|
||||
title: 'Icon Font',
|
||||
code: `<style>
|
||||
@import ('~lucide-static/font/Lucide.css');
|
||||
</style>
|
||||
|
||||
<div class="icon-$Name"></div>
|
||||
`,
|
||||
title: 'Icon font',
|
||||
code: `<div class="icon-$Name"></div>`,
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user