DoIt
DoIt copied to clipboard
扩展shortcodes里面的typeit针对代码样式有误
Discussed in https://github.com/HEIGE-PCloud/DoIt/discussions/514
Originally posted by yqchilde March 8, 2022 例子是doit官方的演示网站 https://hugodoit.pages.dev/zh-cn/theme-documentation-extended-shortcodes/#simple-content
样式如下:
希望是按照格式打印👍🏻
https://github.com/HEIGE-PCloud/DoIt/blob/5a23fa10c1cfd227e7c3d664f1a3f26313130fc4/layouts/shortcodes/typeit.html#L8-L15
DoIt 用了一些 dirty hack 来处理 TypeIt 的 code block,在 0.93.0 中 code block 生成的 HTML 出现了一些变化,导致了这个错误。需要进一步调查。