hackmdio / hackmdio/codimd

parse error when there is spaces after `----` in slide mode

Open
#995 1 comment 0 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

In slide mode, we use `----` for branches.

If there are spaces after `----`, the parser could not parse it as branch, but rather see it as a division line in the slide.

Is this behavior on purpose?

![default](https://user-images.githubusercontent.com/18013815/46579265-92897600-ca40-11e8-858f-f62e613a30f5.png)
![default](https://user-images.githubusercontent.com/18013815/46579267-9ae1b100-ca40-11e8-8308-24af7d7bae08.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.