You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to auto generate certain bits of reference code.
Describe the proposed solution
I would like to see a component that allows us to just throw down a <CodeBlock source={my_code} lang={my_codes_language} /> in my own Svelte components.
Alternatives considered
I've tried just writing out a Markdown block and using {} syntax to put in my autogenerated reference code, but it doesn't do the replacement.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
The core feature of sveltepress is content-centered static site generator. This means runtime code highlight feature is a little bit deviate from the main point.
However the component you requested can still be implemented in the theme package.
Describe the problem
I'd like to be able to auto generate certain bits of reference code.
Describe the proposed solution
I would like to see a component that allows us to just throw down a
<CodeBlock source={my_code} lang={my_codes_language} />
in my own Svelte components.Alternatives considered
I've tried just writing out a Markdown block and using
{}
syntax to put in my autogenerated reference code, but it doesn't do the replacement.Importance
would make my life easier
The text was updated successfully, but these errors were encountered: