QuantEcon / quantecon-book-theme

A Jupyter Book Theme for QuantEcon Book Style Projects
BSD 3-Clause "New" or "Revised" License
41 stars 21 forks source link

👌 IMPROVE: center-align figure, output_scroll #152

Closed AakashGfude closed 3 years ago

AakashGfude commented 3 years ago

Added css for center-aligning figures and handling output_scroll tag in code-cells. outpur_scroll tag css addition is mostly for backward compatibility , as it has been replaced with scroll-output.

codecov[bot] commented 3 years ago

Codecov Report

Merging #152 (f6bb761) into master (14586e5) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #152   +/-   ##
=======================================
  Coverage   72.22%   72.22%           
=======================================
  Files           2        2           
  Lines         234      234           
=======================================
  Hits          169      169           
  Misses         65       65           
Flag Coverage Δ
pytests 72.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 14586e5...f6bb761. Read the comment docs.

mmcky commented 3 years ago

Looks like there were some simple rules missing re: alignment for figures?

Also let's go with scroll-output and drop the scroll_ouput tag. I will make a PR to myst_parser to suggest we update the docs there

mmcky commented 3 years ago

@AakashGfude please merge when you're ready. Thanks