diff --git a/docs/USING_PRO.md b/docs/USING_PRO.md index a55960f5..478b9215 100644 --- a/docs/USING_PRO.md +++ b/docs/USING_PRO.md @@ -388,7 +388,7 @@ An **inline-level** extension will be handled inside each block-level token, bef
start(string src)
src.match().index
, or even a simple src.index()
. Marked will use this function to ensure that it does not skip over any text that should be part of the custom token.src.match().index
, or even a simple src.indexOf()
. Marked will use this function to ensure that it does not skip over any text that should be part of the custom token.
tokenizer(string src, array tokens)
src
string. Accordingly, if using a Regular Expression to detect a token, it should be anchored to the string start (`^`). The tokens
parameter contains the array of tokens that have been generated by the lexer up to that point, and can be used to access the previous token, for instance.