<nve-codeblock>
Properties
Text code to be process into a codeblock.
string
Determines the container styles of component. Flat enables nesting within other containers.
flat
inline
Adds styling to highlight the provided code lines. For many lines: use Comma seperated values, ex: (1,5,7). For range of lines, use hyphen seperated values, ex: (1-5). You can combine both such as: ex: (1,5,10-15,20).
string
Programming language that processes the codeblock.
bash
css
go
html
javascript
json
markdown
python
shell
toml
typescript
xml
yaml
Adds styling to show the line numbers of the codeblock.
boolean
Slots
source code as text, a <template>, or a <pre><code> block
slot for action bar