From c046b75fb2cf26b2d9b77f9385a77c4aed151c56 Mon Sep 17 00:00:00 2001 From: Andrew Voynov Date: Thu, 12 Jun 2025 05:16:24 +0300 Subject: [PATCH] Add some useful bibliography links --- crates/typst-library/src/model/bibliography.rs | 4 ++++ crates/typst-library/src/model/cite.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs index 51e3b03b0..482326e8f 100644 --- a/crates/typst-library/src/model/bibliography.rs +++ b/crates/typst-library/src/model/bibliography.rs @@ -76,6 +76,10 @@ use crate::World; /// | Physics | `{"american-physics-society"}` | /// /// # Example +/// Link to the BibLaTeX file from example: +/// [`works.bib`](https://github.com/typst/typst-dev-assets/blob/main/files/bib/works.bib). +/// For more Hayagriva examples see [this](https://github.com/typst/hayagriva/blob/main/tests/data/basic.yml). +/// /// ```example /// This was already noted by /// pirates long ago. @arrgh diff --git a/crates/typst-library/src/model/cite.rs b/crates/typst-library/src/model/cite.rs index 488cc7657..26763f349 100644 --- a/crates/typst-library/src/model/cite.rs +++ b/crates/typst-library/src/model/cite.rs @@ -18,6 +18,10 @@ use crate::text::{Lang, Region, TextElem}; /// bibliography file. For more information see [bibliography.summary]. /// /// # Example +/// Link to the BibLaTeX file from example: +/// [`works.bib`](https://github.com/typst/typst-dev-assets/blob/main/files/bib/works.bib). +/// For more Hayagriva examples see [this](https://github.com/typst/hayagriva/blob/main/tests/data/basic.yml). +/// /// ```example /// This was already noted by /// pirates long ago. @arrgh