diff --git a/docs/test.md b/docs/test.md new file mode 100644 index 000000000000..1e9f9cbe65c0 --- /dev/null +++ b/docs/test.md @@ -0,0 +1,84 @@ +# Code Groups + +::: code-group + +```txt-vue{1} +{{ 1 + 1 }} +``` + +```js [app.vue] + + + + + +``` + + + +```vue-html{3,4} [layouts/custom.vue] + + + Some *custom* layout + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur imperdiet mi in nunc faucibus consequat. + + + +``` + +```js{1-3,5} [layouts/default.vue] +export default { + name: 'MyComponent' + // ... +} + + + Some *custom* layout + + + +``` + +::: + +- in list + +- ::: code-group + + ```js + printf('111') + ``` + + ```python + import torch as th + print("Hello world") + ``` + + ``` + import torch as th + print("Hello world") + ``` + + ::: + +``` +. +├─ index.md +├─ foo +│ ├─ index.md +│ ├─ one.md +│ └─ two.md +└─ bar + ├─ index.md + ├─ three.md + └─ four.md +``` + +- ```md{1-3,5} + [Home](/) + [foo](/foo/) + [foo heading](./#heading) + [bar - three](../bar/three) + [bar - three](../bar/three.md) + [bar - four](../bar/four.html) + ```