Skip to content

Commit 2996d27

Browse files
committed
Update specification
1 parent 6812549 commit 2996d27

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/panvimdoc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ You can even use `<details>` and `<summary>` tags for your README.md.
268268

269269
<details>
270270

271-
<summary>Summary</summary>
271+
<summary><b>Summary</b></summary>
272272

273273
This section is the details.
274274

@@ -277,7 +277,7 @@ This section is the details.
277277
The `html` tags are dropped and the following output is generated in the vimdoc file.
278278

279279
```
280-
Summary
280+
Summary ~
281281
282282
This section is the details.
283283
```

scripts/panvimdoc.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,10 @@ end
261261

262262
function RawInline(format, str)
263263
if format == "html" then
264-
if str == "<b>" or str == "</b>" then
265-
return "**"
264+
if str == "<b>" then
265+
return ""
266+
elseif str == "</b>" then
267+
return " ~"
266268
elseif str == "<i>" or str == "</i>" then
267269
return "_"
268270
else

0 commit comments

Comments
 (0)