Skip to content

暗黑模式下 mermaid 通过 %%{}%% 设置的参数没有效果 #5905

Closed
@jhzerone

Description

@jhzerone

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

`
%%{init: {'theme': 'forest'}}%%
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram to mermaid
excludes weekdays 2014-01-10

section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
`
image
image

期待的结果 Expected result

希望能支持自定义参数

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.1.14
- Operating System: win10 64
- Browser (if used):

日志文件 Log file

I 2022/09/19 09:58:09 working.go:111:
___ ___ ___ ___
/ /\ ___ ___ //\ / /\ //
/ /:/_ / /\ //| \ :\ / /::\ \ :
/ /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
/ /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
//:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
\ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
\ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
_
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
/
/:/ _/ _/ \ ::/ \ :\ \ :
_/ _/ _/ _/
I 2022/09/19 09:58:09 runtime.go:47: kernel is booting:
* ver [2.1.14]
* arch [amd64]
* runtime mode [prod]
* working directory [C:\Program Files\SiYuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\jianghong01\Documents\SiYuan, data 1.8 GB]
I 2022/09/19 09:58:09 serve.go:79: kernel is booting [http://0.0.0.0:6806]
I 2022/09/19 09:58:09 working.go:478: built-in pandoc [ver=2.19.2, bin=D:\jianghong01\Documents\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2022/09/19 09:58:09 conf.go:559: database size [87 MB], tree/block count [915/22132]
I 2022/09/19 09:58:09 working.go:151: kernel booted

更多信息 More information

No response

Activity

changed the title [-]暗色模式下mermaid 通过%%{}%% 设置的参数没有效果 Please enter the title of the bug report[/-] [+]暗色模式下mermaid 通过%%{}%% 设置的参数没有效果[/+] on Sep 19, 2022
changed the title [-]暗色模式下mermaid 通过%%{}%% 设置的参数没有效果[/-] [+]暗黑模式下 mermaid 通过 `%%{}%%` 设置的参数没有效果[/+] on Sep 19, 2022
added a commit that references this issue on Sep 21, 2022
added this to the 2.2.0 milestone on Sep 21, 2022
added a commit that references this issue on Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Vanessa219@jhzerone

      Issue actions

        暗黑模式下 mermaid 通过 `%%{}%%` 设置的参数没有效果 · Issue #5905 · siyuan-note/siyuan