diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index 5a674e836..fc8bcae86 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -1,7 +1,6 @@ use crate::api::cms::{DocType, Document}; use crate::{templates::docs::TocLink, utils::config}; use anyhow::Context; -use comrak::{format_html_with_plugins, parse_document, ComrakPlugins}; use std::cell::RefCell; use std::collections::HashMap; use std::path::PathBuf; @@ -17,7 +16,6 @@ use comrak::{ use convert_case; use itertools::Itertools; use regex::Regex; -use serde::Deserialize; use std::fmt; use std::sync::Mutex; use url::Url; @@ -1221,13 +1219,6 @@ pub async fn get_document(path: &PathBuf) -> anyhow::Result { Ok(tokio::fs::read_to_string(path).await?) } -#[derive(Deserialize)] -struct SearchResultWithoutSnippet { - title: String, - contents: String, - path: String, -} - pub struct SearchResult { pub title: String, pub path: String, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy