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
Problem
I have markdown docs for design standards as well as vue code documentation, and I don't have a good way to disable the vue code for the design demos.
Describe the solution you'd like
I'd like to be able to define more than one custom markup for inline demos and pick and choose from them each time an inline demo is made (perhpas like this ```vue:no-code). Then I could do something like:
# Primary Colors
These are the primary brand colors. Use them for primary actions like saving, progressing, or upgrading.
'''vue:no-code
<template>
<primary-colors />
</template>
<script>
import PrimaryColors from '~components/PrimaryColors';
export default {
components: { PrimaryColors }
};
</script>
'''
Alternatively, perhaps theres a way to simply inline vue components right into the markdown?
# Primary Colors
These are the primary brand colors. Use them for primary actions like saving, progressing, or upgrading.
<primary-colors />
# Secondary Colors.
...
Describe alternatives you've considered
I could set a variable on certain sections of my documentation site to hide the code blocks with css, but this seems hacky and isn't ideal.
The text was updated successfully, but these errors were encountered:
Problem
I have markdown docs for design standards as well as vue code documentation, and I don't have a good way to disable the vue code for the design demos.
Describe the solution you'd like
```vue:no-code
). Then I could do something like:Describe alternatives you've considered
I could set a variable on certain sections of my documentation site to hide the code blocks with css, but this seems hacky and isn't ideal.
The text was updated successfully, but these errors were encountered: