Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: markdown file inclusion example config line-numbers #4633

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/en/guide/markdown.md
Original file line number Diff line number Diff line change
@@ -824,7 +824,7 @@ It also supports selecting a line range:

**Input**

```md
```md:line-numbers
# Docs

## Basics
@@ -834,7 +834,7 @@ It also supports selecting a line range:

**Part file** (`parts/basics.md`)

```md
```md:line-numbers
Some getting started stuff.

### Configuration
@@ -844,7 +844,7 @@ Can be created using `.foorc.json`.

**Equivalent code**

```md
```md:line-numbers
# Docs

## Basics
@@ -860,7 +860,7 @@ You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/co

**Input**

```md
```md:line-numbers
# Docs

## Basics
@@ -871,7 +871,7 @@ You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/co

**Part file** (`parts/basics.md`)

```md
```md:line-numbers
<!-- #region basic-usage -->
## Usage Line 1

@@ -883,7 +883,7 @@ You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/co

**Equivalent code**

```md
```md:line-numbers
# Docs

## Basics