mkdocs-bootswatch icon indicating copy to clipboard operation
mkdocs-bootswatch copied to clipboard

Block quotes are not working

Open ffunenga opened this issue 5 years ago • 5 comments

I installed mkdocs-bootswatch and tried several of the sub-themes, but the citations / block-quotes are not showing up in the web browser. For example, the following md:

Hello, this is an example:

> And this is a citation

and this is a further paragraph.

results in the following:

image

In this example, I have used the yeti subtheme.

ffunenga avatar Apr 24 '20 07:04 ffunenga

Hello - I am also experiencing the same issue.

jamesonl avatar Jun 29 '20 02:06 jamesonl

Hey @ffunenga , I was able to address this by switching the theme to the material version. You might consider doing the same, as my block quotes appear to be working fine there.

https://github.com/squidfunk/mkdocs-material

jamesonl avatar Jun 29 '20 02:06 jamesonl

This is due to a change in Bootstrap specifications. From Bootstrap 4, the usage of <blockquote> has changed. https://getbootstrap.com/docs/4.5/content/typography/#blockquotes

fu-sen avatar Mar 22 '21 03:03 fu-sen

I have this issue also and am using the material theme

techabstraction avatar Jun 25 '21 08:06 techabstraction

Adding some custom CSS in your configuration is a decent workaround for this in the short-term. Example:

# mkdocs.yml

# ... your config

extra_css:     
  - some.css
# some.css

blockquote {              
  background-color: black;
  font-style: italic;     
  color: white;           
  padding: 1em;           
}                         

And, of course, style to taste.

raymondberg avatar Feb 05 '22 02:02 raymondberg