Closed KarstenB closed 1 year ago
I just noted that you're using regex's for parsing yaml content. Is there any specific reason for doing so? I think it would make live a lot easier if the code block would be parsed with yaml to a json object.
I just noted that you're using regex's for parsing yaml content. Is there any specific reason for doing so? I think it would make live a lot easier if the code block would be parsed with yaml to a json object.
Yeah that's true, i guess when i've developed this part i've went the short route, feel free to change it and add another pull request.
Another nice addition would be an entry in the docs with a sample of using this new color map feature in advanced slides
Hi, I wanted to have the ability to use the theme colors (as it is supported by the charts plugin) for charts and their height. So I added this little piece of code that allows to add to new fields:
useThemeColors: true
will check the--chart-color-X
css styles to get the value for the corresponding barheight: 400px
will set the max-height attribute of the canvas to that number, allowing to have something different than full height.Maybe that is something you want to integrate into the code, or maybe you know a better way of doing this.
Thanks for creating this plugin! It's really cool.