Sha256: 3570edf30d5e9fa11b81af65ad60d402f560d56ea4b1c8b2f4228953574ceae3
Contents?: true
Size: 405 Bytes
Versions: 1
Compression:
Stored size: 405 Bytes
Contents
module.exports = thematicBreak var repeat = require('repeat-string') var checkRepeat = require('../util/check-rule-repeat') var checkRule = require('../util/check-rule') function thematicBreak(node, parent, context) { var value = repeat( checkRule(context) + (context.options.ruleSpaces ? ' ' : ''), checkRepeat(context) ) return context.options.ruleSpaces ? value.slice(0, -1) : value }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trusty-cms-6.3.1 | node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js |