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 dd5f956 commit eb85465Copy full SHA for eb85465
gulpfile.js
@@ -12,8 +12,11 @@ const build = function () {
12
reject( err )
13
14
let md = buffer.toString()
15
+ // Grab very first line of markdown as "Title".
16
+ const title = md.split('\n')[0]
17
+
18
// Filter everything out except "Description" chapter.
- md = getChapterFromMarkdown(
19
+ md = title + '\n' + getChapterFromMarkdown(
20
md,
21
/^#+\s+Description/,
22
)
0 commit comments