We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745ffb7 commit 57ac80fCopy full SHA for 57ac80f
js/kunai/meta/meta.js
@@ -154,8 +154,13 @@ class Meta {
154
switch (token.get('type')) {
155
case 'heading': {
156
this.heading_depth = token.depth
157
+ const heading = token.get('text').trim()
158
+ if (heading.match(/実装例/)) {
159
+ this.is_inside_example = false
160
+ break
161
+ }
162
- if (token.get('text').trim().match(/例|Example|Sample|サンプル/i)) {
163
+ if (heading.match(/例|Example|Sample|サンプル/i)) {
164
this.is_inside_example = true
165
} else {
166
this.is_inside_example = false
0 commit comments