diff --git a/lib/languages/ex.js b/lib/languages/ex.js index 353f77e..5b58d78 100644 --- a/lib/languages/ex.js +++ b/lib/languages/ex.js @@ -5,7 +5,7 @@ module.exports = { // Find document blocks in heredocs that are arguments of the @apidoc // module attribute. Elixir heredocs can be enclosed between """ and """ or // between ''' and '''. Heredocs in ~s and ~S sigils are also supported. - docBlocksRegExp: /@apidoc\s*(~[sS])?"""\uffff?(.+?)\uffff?(?:\s*)?"""|@apidoc\s*(~[sS])?'''\uffff?(.+?)\uffff?(?:\s*)?'''/g, + docBlocksRegExp: /@doc\s*(~[sS])?"""\uffff?(.+?)\uffff?(?:\s*)?"""|@doc\s*(~[sS])?'''\uffff?(.+?)\uffff?(?:\s*)?'''/g, // Remove not needed tabs at the beginning inlineRegExp: /^(\t*)?/gm };