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

提供/暴露 一些 文档中常用的组件,在vue中使用,这样展示内容就可以是响应式的了,内容以插槽的方式传入 #4396

Open
yanwuguangjun opened this issue Nov 29, 2024 · 0 comments

Comments

@yanwuguangjun
Copy link

yanwuguangjun commented Nov 29, 2024

有些需求需要动态修改 文档中的内容,通过插槽的方式实现会受到 markdown格式的 影响

我当前的实现方式是
image
可读性很差,
而且 <template> 标签不可缩进 应该是bug

如果可以提供一些组件出来就好了,可读性将得到提升

just like :

const json_txt = ref( ... som json txt )
<press-code type="json">
{{ json_txt }}
</press-code>

now the json_txt is responsive

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

1 participant