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

feat: support github style alerts #513

Merged
merged 8 commits into from
Dec 14, 2024
Merged

feat: support github style alerts #513

merged 8 commits into from
Dec 14, 2024

Conversation

imfing
Copy link
Owner

@imfing imfing commented Dec 14, 2024

Support GitHub style alerts.

Implemented GitHub alerts as per #460. Future PRs should aim to support the extended syntax from Obsidian, which is a lower priority.

Example:

> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.

Output:

Alerts

Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 621f979
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/675e177d21ab9c0008221a8a
😎 Deploy Preview https://deploy-preview-513--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@imfing imfing marked this pull request as ready for review December 14, 2024 23:32
@imfing imfing merged commit 68dd327 into main Dec 14, 2024
4 checks passed
@imfing imfing deleted the alerts branch December 14, 2024 23:44
@imfing imfing mentioned this pull request Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant