Code

Code is a flexible container. It is used for styling inline and multiline code snippets.

import { Code } from 'svelte-spectre'


<Code lang="js">

	let binding = Function.prototype.call.bind(Function.prototype.bind);

</Code>

let binding = Function.prototype.call.bind(Function.prototype.bind);

© 2022 — 2023 BASF SE

API Code

lang: String
Set program language
js | php | go | rust | python ...