diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-12-02 13:32:06 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-12-04 10:12:07 +0100 |
| commit | 2b8dc9b14da365cb36345d41fd1ca93894f50c68 (patch) | |
| tree | d5494e93f107df548b45ada6e5a10b2c817825a9 /crates/typst-library/src/lib.rs | |
| parent | 008b59839f276bc5563fea2ac3350da63a0355d8 (diff) | |
Add HTML feature flag
Diffstat (limited to 'crates/typst-library/src/lib.rs')
| -rw-r--r-- | crates/typst-library/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-library/src/lib.rs b/crates/typst-library/src/lib.rs index bd135cdb..5aec0916 100644 --- a/crates/typst-library/src/lib.rs +++ b/crates/typst-library/src/lib.rs @@ -231,7 +231,9 @@ impl FromIterator<Feature> for Features { /// An in-development feature that should be enabled. #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] #[non_exhaustive] -pub enum Feature {} +pub enum Feature { + Html, +} /// Construct the module with global definitions. fn global(math: Module, inputs: Dict) -> Module { |
