Skip to content

[lecture enhancement] code cell collapse/fold #64

Closed

Description

@shlff

Hi @mmcky and @jstac , I find that we have a very good feature to collapse/fold a long-line code cell in our RST-version lectures.

Do you think it is a good idea to translate this feature to the new MYST lectures as well?

e.g., in lecture amss (left: RST; right: MYST):
Screen Shot 2021-06-03 at 3 50 38 pm

Activity

  1. mmcky commented on Jun 11, 2021

    @mmcky
    Contributor

    @shlff thanks.

    This is now supported in the theme using collapse-20 tag for code-cells

    QuantEcon/quantecon-book-theme#128

    Would you mind raising pull request to update each lecture where the collapse was previously used?

  2. mmcky commented on Jun 11, 2021

    @mmcky
    Contributor

    @AakashGfude for collapse can you just specify collapse for the default 20 lines or do you have to use collapse-*.

    @shlff let's use collapse-20 to be explicit.

  3. added
    enhancement
    high-priority
    on Jun 11, 2021
  4. assigned and unassigned on Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhigh-priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions