Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

IPYNB_FIX_CSS nukes markdown table headers #112

Open
@jooh

Description

@jooh

Thanks for a great tool. I have a problem where markdown table headers disappear (they're there in the output source, but seem to get assigned 0 height).

Here is an example table (I also made a test notebook). I have the following markdown in a jupyter notebook cell:

| statistical test | null true | null false |
| :--- | :--- | :--- |
| **significant**     |  $\alpha$ false positive rate, false alarm  | $1-\beta$ power, sensitivity, recall, hit |
| **not significant** | $1-\alpha$ specificity, precision, correct rejection | $\beta$ false negative rate, miss |

The header row disappears in the rendered output with default options (this is on the pelican-bootstrap3 pelican theme with the lumen bootstrap theme):

Screenshot 2019-09-25 at 16 12 33

Unless I set IPYNB_FIX_CSS = False:

Screenshot 2019-09-25 at 16 13 20

Or alternatively, IPYNB_SKIP_CSS = True:

Screenshot 2019-09-25 at 16 29 16

I take this to mean that the notebook CSS is ok, but the 'fix' CSS somehow includes setting thead to zero height. How do I control this behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions