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.
19 lines
403 B
Rust
19 lines
403 B
Rust
4 years ago
|
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,
|
||
|
}
|
||
|
}
|
||
|
}
|