Skip to content

Ability to include code from the _files in the markdown of the lesson #264

@noam-honig

Description

@noam-honig

Is your feature request related to a problem?

In many cases the code blocks in my markdown is the same code from the _files or _solution - and keeping it consistent is not ideal

Describe the solution you'd like.

I wish I could reference to a a file in the lesson from the code.

Something like

```ts src="frontend/Todo.tsx:lines(10-15)" title="same as src" add={1-5}

### Describe alternatives you've considered.

Maintaining both versions

### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationChange related to TutorialKit documentation or demo site

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions