UNPKG

apidoc-core

Version:

Core parser library to generate apidoc result following the apidoc-spec

10 lines (9 loc) 253 B
/** * Elixir */ module.exports = { // Find document blocks between '#{' and '#}' docBlocksRegExp: /\#*\s?\{\uffff?(.+?)\uffff?(?:\s*)?\#+\s?\}/g, // Remove not needed '#' and tabs at the beginning inlineRegExp: /^(\s*)?(\#*)[ ]?/gm };