Skip to content

Commit

Permalink
Merge branch 'main' into bw-refactor-html-output
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalmoksha authored Feb 8, 2025
2 parents 20a48e6 + 28d9fac commit 7336534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/alert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub enum AlertType {

impl AlertType {
/// Returns the default title for an alert type
pub(crate) fn default_title(&self) -> String {
pub fn default_title(&self) -> String {
match *self {
AlertType::Note => String::from("Note"),
AlertType::Tip => String::from("Tip"),
Expand All @@ -50,7 +50,7 @@ impl AlertType {
}

/// Returns the CSS class to use for an alert type
pub(crate) fn css_class(&self) -> String {
pub fn css_class(&self) -> String {
match *self {
AlertType::Note => String::from("markdown-alert-note"),
AlertType::Tip => String::from("markdown-alert-tip"),
Expand Down

0 comments on commit 7336534

Please sign in to comment.