mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
[ci] format
This commit is contained in:
parent
73b8d60f8c
commit
678ba54056
2 changed files with 3 additions and 4 deletions
|
@ -478,17 +478,17 @@ When using nested tags in Markdoc, it can be helpful to indent the content insid
|
||||||
|
|
||||||
```md
|
```md
|
||||||
# Welcome to Markdoc with indented tags 👋
|
# Welcome to Markdoc with indented tags 👋
|
||||||
|
|
||||||
# Note: Can use either spaces or tabs for indentation
|
# Note: Can use either spaces or tabs for indentation
|
||||||
|
|
||||||
{% custom-tag %}
|
{% custom-tag %}
|
||||||
{% custom-tag %}
|
{% custom-tag %} ### Tags can be indented for better readability
|
||||||
### Tags can be indented for better readability
|
|
||||||
|
|
||||||
{% another-custom-tag %}
|
{% another-custom-tag %}
|
||||||
This is easier to follow when there is a lot of nesting
|
This is easier to follow when there is a lot of nesting
|
||||||
{% /another-custom-tag %}
|
{% /another-custom-tag %}
|
||||||
|
|
||||||
{% /custom-tag %}
|
{% /custom-tag %}
|
||||||
{% /custom-tag %}
|
{% /custom-tag %}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,6 @@ describe('Markdoc - render', () => {
|
||||||
renderIndentedComponentsChecks(html);
|
renderIndentedComponentsChecks(html);
|
||||||
|
|
||||||
await server.stop();
|
await server.stop();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('renders content - with `render: null` in document', async () => {
|
it('renders content - with `render: null` in document', async () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue