Skip to content

Ignore hidden#37

Open
andrevidela wants to merge 2 commits intoidris-community:mainfrom
andrevidela:ignore-hidden
Open

Ignore hidden#37
andrevidela wants to merge 2 commits intoidris-community:mainfrom
andrevidela:ignore-hidden

Conversation

@andrevidela
Copy link
Copy Markdown
Contributor

@andrevidela andrevidela commented Sep 10, 2023

I changed the lexer so that it would leave alone hidden blocks. I added the comment package to ignore them.

I also noticed a lot of the latex template string had a lot of escaped strings, I made use of raw strings to make it easier to maintain those templates.

For some reason I couldn't run the tests locally so I'm trusting CI on that one

@ohad
Copy link
Copy Markdown
Collaborator

ohad commented Jul 20, 2024

@andrevidela , CI aside, does this work for you? IIRC, something needs to change inside Idris literate mode in order for us to emit hidden, rather than code blocks. IIRC, the spans are not marked as hidden or not.

@andrevidela
Copy link
Copy Markdown
Contributor Author

I think I did use it for a paper when I wrote this but I do not remember anything.

@andrevidela andrevidela reopened this Aug 27, 2025
@andrevidela
Copy link
Copy Markdown
Contributor Author

andrevidela commented Aug 27, 2025

nvm I remember what this is for because I ran against the problem again. hidden code blocks in latex don't work properly without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants