Update the documentation of the hasDelimiters function in utils.js
The original comment mentions "middle" as a possible where value.
However, all invocations of hasDelimiters in patterns.js do not
pass in "middle". The function itself has since removed the "middle" case
in a previous commit.
Let's update the documentation to remove the mention of "middle" to match
current implementation.
The function is still working as expected as an inline case like
paragraph **bold**{.red} asdf appears to now be handled
correctly with where=end. Hence, this PR is purely a documentation update.
Update the documentation of the
hasDelimiters
function inutils.js
The original comment mentions "middle" as a possible
where
value. However, all invocations ofhasDelimiters
inpatterns.js
do not pass in "middle". The function itself has since removed the "middle" case in a previous commit.Let's update the documentation to remove the mention of "middle" to match current implementation.
The function is still working as expected as an inline case like
paragraph **bold**{.red} asdf
appears to now be handled correctly withwhere=end
. Hence, this PR is purely a documentation update.