You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
530 B
Rust
25 lines
530 B
Rust
/*
|
|
* Snekdown - Custom Markdown flavour and parser
|
|
* Copyright (C) 2021 Trivernis
|
|
* See LICENSE for more information.
|
|
*/
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Clone, Debug)]
|
|
pub struct FeatureSettings {
|
|
pub embed_external: bool,
|
|
pub smart_arrows: bool,
|
|
pub include_mathjax: bool,
|
|
}
|
|
|
|
impl Default for FeatureSettings {
|
|
fn default() -> Self {
|
|
Self {
|
|
embed_external: true,
|
|
smart_arrows: true,
|
|
include_mathjax: true,
|
|
}
|
|
}
|
|
}
|