title level 1, add point
This commit is contained in:
parent
acb97e1a8e
commit
20e5b00d64
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ export default class counters extends Handler {
|
|||
h1Count++;
|
||||
h2Count = 0; // reset h2
|
||||
const originalText = el.innerHTML;
|
||||
el.innerHTML = `<span class="h1-count">${this.toUpperAlpha(h1Count)}</span><span class="h1-text">${originalText}</span>`;
|
||||
el.innerHTML = `<span class="h1-count">${this.toUpperAlpha(h1Count)}.</span><span class="h1-text">${originalText}</span>`;
|
||||
break;
|
||||
|
||||
case 'h2':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue