From dfb453413ad0f7580f436139bf213ecc43993b64 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Mon, 31 Oct 2022 00:59:57 +0530 Subject: [PATCH] test all possible variations --- docs/test.md | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/test.md 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) + ```