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

✨ NEW: Collapsible input code blocks #128

Closed AakashGfude closed 3 years ago

AakashGfude commented 3 years ago

code blocks can be collapsed with the tag - collapse-*

The * can be n in which case the height is 22.4 rem:

Screen Shot 2021-05-20 at 11 46 19 am

or the * can be a number that specifies the approximate line numbers till which to collapse.

Ex:- collapse-10

Screen Shot 2021-05-20 at 11 48 12 am

collapse-30

Screen Shot 2021-05-20 at 11 49 18 am

when expanded:

Screen Shot 2021-05-20 at 1 30 17 pm
codecov[bot] commented 3 years ago

Codecov Report

Merging #128 (9d8841c) into master (c5cc09f) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   71.73%   71.73%           
=======================================
  Files           2        2           
  Lines         230      230           
=======================================
  Hits          165      165           
  Misses         65       65           
Flag Coverage Δ
pytests 71.73% <ø> (ø)

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 c5cc09f...9d8841c. Read the comment docs.

mmcky commented 3 years ago

This is looking really nice @AakashGfude