jasonwilliams / anki

Anki VSCode Plugin
MIT License
275 stars 31 forks source link

should only accept first h1 title, if there are several h1 titles or code comments #44

Closed debbbbie closed 3 years ago

debbbbie commented 3 years ago

In most cases, I have ruby codes in my cards. Its comment is like this # this is a comment, this will override the expected deckName.

sample markdown content:

# title

```rb # it print 3 puts 3 ```

The title should be "title", not "it print 3"