Skip to content

Documentation for code import does not describe the syntax completely #581

@cfjedimaster

Description

@cfjedimaster

Bug report

The docs for code imports (https://vuepress.vuejs.org/guide/markdown.html#import-code-snippets) show this syntax: <<< @/test/markdown/fragments/snippet.js{2}. While most of it makes sense, the {2} at the end is not documented. Does it mean "from line 2 and onward" or does it mean something else?

Version

Current live docs.

Steps to reproduce

Doc issue.

What is expected?

An explanation about the {...} portion.

What is actually happening?

It is not explained.

Other relevant information

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions