if you strain your eyes, you might be able to see the first line which is a comment.
how can i change the background or comment color so it is visible?
i know i can put in a css page or manually change the background with a sed script, but making any changes in my .emacs file doesn’t seem to translate over via hugo. the closest i’ve come to finding an answer is this post: Strange org mode source code block effect
You can either (a) specify a different highlighting style in your site configuration, or (b) create a style sheet from an existing built-in style and then modify the comment color.
To specify a different style in your site configuration:
[markup.highlight]
style = 'rrt' # default is monokai
rrt example:
Let me know if you would prefer to create a style sheet from an existing built-in style.
that is very nice too! and i can customize the style sheet too once i figure out what is what!
i just found the docs for it too: Syntax highlighting
so 2 more questions:
if i wish to add more css elements for my site, should i add a new css page into assetts/css and then put in a second
{{ with resources.Get “css/myown.css” | minify }}
{{ end }}
or
just add to the chroma one?
it seems to me that doing a new one is more sensible because if i go to something other than rrt, i’d have to regen and that would wipe out my alterations.
how did you display my code in your first post here using rrt? does discourse have some mechanism for it? i don’t see how it could be done in markup.