Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for markdown > alerts via markdig #10173

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Add support for markdown > alerts via markdig #10173

wants to merge 4 commits into from

Commits on Oct 15, 2024

  1. Add support for markdown > alerts via markdig

    Markdig supports alert blocks as documented at https://github.com/xoofx/markdig/blob/master/src/Markdig.Tests/Specs/AlertBlockSpecs.md.
    
    Bumping markdig and adding `.UseAlertBlocks()` now renders the expected html.
    
    Fixes NuGet#10125
    kzu committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    af6daf5 View commit details
    Browse the repository at this point in the history
  2. Make sure alerts use default font color

    If we don't unset it, the default bootstrap p style turns
    dark mode illegible (uses white-ish color). This seems
    to be an issue specific to the very old version of Bootstrap
    being used (v3.x).
    
    When running the site locally, I could not find any other
    .css (or .less) files being built or linked from the page,
    so I placed the only needed style in the only other style
    file other than bootstrap.
    kzu committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5cd5170 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. update css style

    Lynn Dai committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    3bf38d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. add unit test

    Lynn Dai committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    0bdf47c View commit details
    Browse the repository at this point in the history