6fe1b0279f
* [ci] yarn format * Added shiki to markdown-remark * Upgraded astro shiki * Added minimal example * Changed defaults to match <Code /> * Replace `shiki` with `astro` classes * Added documentation * Updated Astro code to use new `codeToHtml` * Added changesets * Added basic test * Updated tests a bit Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
14 lines
140 B
Markdown
14 lines
140 B
Markdown
---
|
|
title: Shiki demo
|
|
layout: ../layouts/main.astro
|
|
---
|
|
|
|
# Shiki demo
|
|
|
|
```js
|
|
var foo = 'bar';
|
|
|
|
function doSomething() {
|
|
return foo;
|
|
}
|
|
```
|