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

feat: Code importer #67

Open
1 task
Ast3risk-ops opened this issue Dec 10, 2024 · 0 comments
Open
1 task

feat: Code importer #67

Ast3risk-ops opened this issue Dec 10, 2024 · 0 comments
Labels
✨ feature New feature or request

Comments

@Ast3risk-ops
Copy link
Contributor

Ast3risk-ops commented Dec 10, 2024

Describe the feature

Add the ability to import code from a remote file (whole file, specific lines, starting/ending at [word], etc)

i.e.

```ts{2} line-numbers url=<link-to-raw-file>
```

or as a component:

:codeimporter{url=<url> title=title (other parameters from the codeblock)}

or something similar to pymdownx.snippets.

Additional information

  • Would you be willing to help implement this feature?
@Ast3risk-ops Ast3risk-ops added the ✨ feature New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant