Closed datawrangl3r closed 3 years ago
Hello @datawrangl3r
We are using Hugo's default syntax highlighter in this template. so I suggest you ask this query in Hugo forum. thank you
Hey @datawrangl3r
I think your issue has been solved. so I am closing this issue, if you have any more queries you can re-open this issue or create a new one. thank you
Hi @datawrangl3r, I am facing the same issue. Would you please help me fix the issue if you could resolve it?
I'm facing same issue.
try this in config.toml
[markup.highlight] style = 'manni' # see https://xyproto.github.io/splash/docs/all.html
The solution that I found was the following: In the file _main.scss modify the next line
code {
padding: 3px 5px;
background: $gray;
border: 1px solid $border-color;
border-radius: 3px;
/* color: $text-color-dark; Comment out or Delete this line, or change Color*/
}
Then, because I want the dracula theme, I added this to config.toml
[markup.highlight]
style = 'manni' # see https://xyproto.github.io/splash/docs/all.html
The code blocks are turning black in the frontend as shown below.
The following image is for a bash code block in markdown given as: