notedown_ast 0.14.5

Notedown Abstract Syntax Tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod bibtex;

use crate::{store::bibtex::BibliographyStorage, utils::Url};
pub use notedown_image::store::ImageStorage;

pub struct ExternalStorage {
    image: ImageStorage,
    bib: BibliographyStorage,
}

impl ExternalStorage {
    #[inline]
    pub fn get_image_local_path(&self, name: &str) -> Option<Url> {
        self.image.get_image_local_path(name)
    }
}