+++ author = "Hugo Authors" title = "Advanced Usage of code, pre, kbd" date = "2024-04-09" description = "Guide to advanced usage of Anubis2" tags = [ "emoji", ] +++ `code`
preCRTL + K + B + D ## \
Direct Code
`A verrrrrryyyyy llloooonnnggg coooodeeee`
`code` `is` `here`
```plain
multiline
code
here
```
```typescript
interface User {
id: number
firstName: string
lastName: string
role: string
}
function updateUser(id: number, update: Partial) {
const user = getUser(id)
const newUser = { ...user, ...update }
saveUser(id, newUser)
}
```
## \
pre text
pre text
pre text
## \
Press CTRL + C to copy text (Windows).
Press CMD + C to copy text (Mac OS).
Press CTRL+ALT+Delete to end the session.
Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.
Press CTRL+ALT+Delete to end the session.