Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: doctest ignore is used for math expressions that are not valid Rust #203

Closed
YeungOnion opened this issue Mar 5, 2024 · 1 comment
Closed

Comments

@YeungOnion
Copy link
Contributor

The ignore option for doctests is supposed to ignore ``` segments from being treated as a doctest but will be run with all the tests that have the #[ignore] directive. What the rustdoc feature should do isn't up to us, but I do think that there's a better way to share this information that clearly conveys that this is not a doctest.

KaTeX is an option example, markdown styled quotes, or monospaced text using text instead of ignore

@YeungOnion
Copy link
Contributor Author

opted for text in lieu of ignore in PR #213

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

No branches or pull requests

1 participant