Closed rgreinho closed 2 years ago
Do you have an example that you can share where it doesn't work?
Nothing online yet, but I can share a snippet of what I am working on.
This markdown:
## Setup the local dev environment
> **REMARK: make sure to run the commands in the correct folder.**
Renders as:
To adjust it, I added this to the main.css
file:
blockquote {
border-left: #808080 8px solid;
margin: 0;
background-color: #dcdcdc;
padding: 0 20px;
}
And now it looks like this:
I see thanks for sharing. I tried it on a plan site without this theme and it looked like the first picture as well. I found similar CSS on https://cssdeck.com/blog/six-ways-style-blockquotes/ to make it look like the second. Not sure there is another way to address this as I looked at the generated HTML and it does in fact put it in a block quote so it's just a CSS styling problem.
Maybe just adding the bloquote
to the main.css
to provide a default style then?
I can submit a PR with my snippet if that would help you. The colors match with the theme, but maybe we should provide sensible default values as variables. 🤔
Yeah maybe, I guess we'll see what @codeandmedia thinks once they weigh in on this.
@rgreinho would love to see your PR, generally - yes, I defined all colors as vars to make easy any color customization, so if we need more colors - we can add another one as var too
The theme does not render blockquotes. They are simply indented.
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#blockquotes=