Skip to content

Commit

Permalink
Restore SYNTECT_CLASS_STYLE
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Mar 31, 2024
1 parent 0e3cecd commit 3494a6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
use syntect::html::ClassStyle;

pub const DB_NAME: &str = "quanweb";
pub const DEFAULT_PAGE_SIZE: u8 = 10;
pub const STATIC_URL: &str = "/static";
pub const UNCATEGORIZED_URL: &str = "/category/_uncategorized/";
#[allow(dead_code)]
pub const SYNTECT_CLASS_STYLE: ClassStyle = ClassStyle::SpacedPrefixed { prefix: "st-" };
pub const KEY_LANG: &str = "lang";
pub const DEFAULT_LANG: &str = "en";
pub const ALPINE_HIGHLIGHTING_APP: &str = "need_highlight";
Expand Down

0 comments on commit 3494a6a

Please sign in to comment.