HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

increse headline for markdown #1405

Open gaolingep opened 4 years ago

gaolingep commented 4 years ago

the following css in markdown bring headline increse index / For headline index. by gl / :root { counter-reset:counter_h1;counter_h2; }

h1 { counter-increment: counter_h1; counter-reset:counter_h2; } h1::before { content: counter(counter_h1)"、"; } h2 { counter-increment: counter_h2; } h2::before { content: counter(counter_h1)"."counter(counter_h2)"、"; }

# a ## b ## c # e

get the effect

1a 1.1b 1.2c 2e

but still have a bug when handleing split markdown cell.