vuepress-theme-hope icon indicating copy to clipboard operation
vuepress-theme-hope copied to clipboard

[Feature Request] Individual and multiple line ref support for @include

Open vordimous opened this issue 1 year ago • 0 comments

Checklist

  • [X] I searched existing issues and no one else requests similar feature.
  • [X] I think that 25%+ users are positive towards this feature.

Describe the feature

Allow the @include feature to reference multiple different segments in the file, including since line segments.

Example:

```yaml
foo:
<!-- @include: ./foo.yaml{1} -->
bar:
<!-- @include: ./bar.yaml{2-4} -->
baz:
<!-- @include: ./baz.yaml{6, 8-10} -->
```

Additional context

No response

vordimous avatar Jan 24 '24 20:01 vordimous