-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax toggle comments to allow more "pragmas"
This patch relaxes the toggle comments `# runic: (off|on)` such that the comment may contain more than just the toggle comment. This is useful when combining with other "pragmas" such as e.g. Literate.jl line filters. For example, the following now also toggles formatting: ```julia \# runic: off #src not = formatted #src \# runic: on #src ```
- Loading branch information
1 parent
45c471b
commit a424ebf
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters