Hugo增加远程服务器绘图模式支持techzealot2023-05-10hugoHugo增加远程服务器绘图模式支持 实现思路1(推荐): 获取代码块内容,处理为服务器支持的格式组装到新创建的image的src属性,然后隐藏代码块 实现思路2: 使用自定义shortcodes功能 缺点:该功能需要在markdown中编写特定于hugo的语法,不利于兼容及查看 增加plantuml支持 <!-- plantuml --> {{ if or .
Hugo增加mermaid支持techzealot2023-03-31hugohugo增加mermaid绘图支持 hugo增加自定义功能的方式 customjs 在config.toml中增加配置 custom_css = ["css/custom.css"] custom_js = ["js/custom.