Closed prowlett closed 3 years ago
I've added a CSS style for blockquote
in the default theme in commit 6a9b37b.
Output from pdflatex
will be as before, but HTML and markdown PDF output should now look something like this:
I've not styled based on the quote
or quotation
class, so both should pick it up.
Brilliant, thanks!
I first upgraded and it didn't work. I noticed that all the files in build/default/static
, and indeed their counterparts in coursebuilder_env/lib/python3.9/site-packages/makeCourse/themes/default/static
were last modified in May. So I ran the upgrade with --force-reinstall
and now it works fine.
Please will you put some style on
<blockquote>
?When I write this in Markdown
it looks like this in my Markdown editor.
In the PDF output it looks like this. I find the box a bit weird but okay, at least it stands out.
Whereas in the HTML output it just looks like a normal paragraph.
The quote is inside a
<blockquote>
, so presumably some style could be attached to that?In LaTeX, using
looks like this in the PDF
but still looks like normal text in the HTML
Meanwhile, using
looks like this
(I don't really understand
quote
vs.quotation
, but I think it's indented the same and also the first line is indented further)and produces this HTML:
I'm not sure I would need a difference in style between
<blockquote>
,<blockquote class="quote">
and<blockquote class="quotation">
, but there may be some subtlety I'm missing.