Designing idea
Magic comment
-
comment_String- comment identifier; -
type_String- comment type, and can be omit. -
inline
Code
StartOfLine~~Shortest[Except["\n"]...]~~comment_~~"LaTeXTool-"~~type_~~"-Skip"~~EndOfLine -
block
Code
comment_~~"LaTeXTool-"~~type_~~"-Off"~~Shortest[___]~~comment_~~"LaTeXTool-"~~type_~~"-On";comment_~~"LaTeXTool-"~~type_~~"-Begin"~~Shortest[___]~~comment_~~"LaTeXTool-"~~type_~~"-End";