halo-sigs / plugin-bytemd

为 Halo 2.0 集成 ByteMD 编辑器
https://halo.run/store/apps/app-HTyhC
GNU General Public License v3.0
14 stars 6 forks source link

希望能给标题自动加上id #31

Closed jiewenhuang closed 1 year ago

jiewenhuang commented 1 year ago

生成的h标签没有id,目录容易出错,虽然自己主题自己处理也行,但是感觉还是不太好。

ruibaby commented 1 year ago

PR Welcome!

可以看看 remark 是否有相关插件:https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins

gaojie0616 commented 1 year ago

自带编辑器的标题是有id的,同求这个功能

ruibaby commented 1 year ago

这个功能好像在 https://github.com/halo-sigs/plugin-bytemd/pull/4 中就已经提供了,可以升级到最新版本试试。

image

/close

f2c-ci-robot[bot] commented 1 year ago

@ruibaby: Closing this issue.

In response to [this](https://github.com/halo-sigs/plugin-bytemd/issues/31#issuecomment-1722423502): >这个功能好像在 https://github.com/halo-sigs/plugin-bytemd/pull/4 中就已经提供了,可以升级到最新版本试试。 > >image > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
jiewenhuang commented 1 year ago

用的一直都是最新版的,1.4.0,并没有这个功能

ruibaby commented 1 year ago

用的一直都是最新版的,1.4.0,并没有这个功能

那就没能复现这个问题了。

image image image

/reopen

f2c-ci-robot[bot] commented 1 year ago

@ruibaby: Reopened this issue.

In response to [this](https://github.com/halo-sigs/plugin-bytemd/issues/31#issuecomment-1722433433): >> 用的一直都是最新版的,1.4.0,并没有这个功能 > >那就没能复现这个问题了。 > >image >image >image > >/reopen Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
jiewenhuang commented 1 year ago

没事了,瑞士军刀的问题,作者修了。