Skip to content

Commit

Permalink
Add document for rust-lang/rust#54726
Browse files Browse the repository at this point in the history
  • Loading branch information
termoshtt committed Oct 29, 2022
1 parent c510c9a commit 160a47c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions katexit-example-nightly/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#![feature(prelude_import, custom_inner_attributes)]
#![cfg_attr(doc, katexit::katexit)]
//! Module level document example with $\KaTeX$!
//!
//! This requires nightly rustc for using [custom_inner_attributes](https://github.com/rust-lang/rust/issues/54726)
//!

#[cfg_attr(doc, katexit::katexit)]
/// We can write $\LaTeX$ expressions
Expand Down

0 comments on commit 160a47c

Please sign in to comment.