Closed vic-t closed 8 years ago
Please give an example
<codedoc code:sql>
--
-- This is an SQL comment
--
ALTER TABLE "Person" RENAME TO People;
</codedoc>
<codedoc code:sql>
~~codedoc:clean:--~~\\
~~codedoc:clean:--This is an SQL comment--~~\\
~~codedoc:clean:--~~
ALTER TABLE "Person" RENAME TO People;
</codedoc>
See: https://www.dokuwiki.org/doku.php?id=plugin:codedoc#literals
I regularly copy paste large pieces of SQL code that include comments all over the place. So this workaround is just not at all practical. I appreciate you answered (in record time, by the way) but if that's the final solution, then (the Geshi version of) Codedoc just cannot be considered compatible with SQL.
So be it.
<codedoc code:sql>
does not recognize sql comments (which are prefixed by two dashes,--
)