diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-12-03 13:23:00 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-12-04 10:12:07 +0100 |
| commit | cda94ab40505a2d812c3a743a8d916bcfe4484c3 (patch) | |
| tree | bd77403684eb879844dd2840387247dbc11ac97c | |
| parent | e0122a5b509d151b7e0197d37a120fd965a055d5 (diff) | |
Link to tracking issue
| -rw-r--r-- | crates/typst/src/lib.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/typst/src/lib.rs b/crates/typst/src/lib.rs index 2fb0a730..b76815b9 100644 --- a/crates/typst/src/lib.rs +++ b/crates/typst/src/lib.rs @@ -234,18 +234,21 @@ fn warn_or_error_for_html( world: Tracked<dyn World + '_>, sink: &mut Sink, ) -> SourceResult<()> { + const ISSUE: &str = "https://github.com/typst/typst/issues/5512"; if world.library().features.is_enabled(Feature::Html) { sink.warn(warning!( Span::detached(), "html export is under active development and incomplete"; hint: "its behaviour may change at any time"; - hint: "do not rely on this feature for production use cases" + hint: "do not rely on this feature for production use cases"; + hint: "see {ISSUE} for more information" )); } else { bail!( Span::detached(), "html export is only available when `--feature html` is passed"; - hint: "html export is under active development and incomplete" + hint: "html export is under active development and incomplete"; + hint: "see {ISSUE} for more information" ); } Ok(()) |
