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

Add a method of connector/smartmodule version injection #174

Open
digikata opened this issue Aug 15, 2024 · 0 comments
Open

Add a method of connector/smartmodule version injection #174

digikata opened this issue Aug 15, 2024 · 0 comments
Assignees

Comments

@digikata
Copy link
Collaborator

digikata commented Aug 15, 2024

Docusaurus provides a method for non pre-formatted blocks, but code-blocks can't inject version variable data, find a method of syncing versions data to code blocks too.

See @ajhunyady for existing POC, but basically values can be imported to mdx files w/ https://docusaurus.io/docs/markdown-features/react#importing-code-snippets

import Versions from '@site/embeds/versions

e.g in the mdx:

You should use {[email protected]}  => You should use [email protected]

Doesnt work:

`use  {[email protected]}` => `use  {[email protected]}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants