2017-01-26 09:03:53 -05:00
|
|
|
// These kind of comments are used in HTML
|
|
|
|
module.exports = {
|
2017-02-21 05:17:08 -05:00
|
|
|
regionStartMatcher: /^\s*<!--\s*#docregion\s*(.*?)\s*(?:-->)?\s*$/,
|
|
|
|
regionEndMatcher: /^\s*<!--\s*#enddocregion\s*(.*?)\s*-->\s*$/,
|
|
|
|
plasterMatcher: /^\s*<!--\s*#docplaster\s*(.*?)\s*-->\s*$/,
|
2017-01-26 09:03:53 -05:00
|
|
|
createPlasterComment: plaster => `<!-- ${plaster} -->`
|
|
|
|
};
|