mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-20 23:28:42 -05:00
Added comments: true to each file in converter.
This commit is contained in:
@@ -61,11 +61,12 @@ transfer = function(type) {
|
||||
// excerpt: this is our doc on foo bar
|
||||
// >> becomes >>
|
||||
// title: foo-bar
|
||||
// comments: true
|
||||
// ---
|
||||
|
||||
return string
|
||||
.replace('slug:', 'title:')
|
||||
.replace(excerptRe, '---')
|
||||
.replace(excerptRe, 'comments: true\n---')
|
||||
})
|
||||
.then(function(string) {
|
||||
// Remove
|
||||
|
||||
Reference in New Issue
Block a user