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

card directive #25

Open
9 tasks
Tracked by #2
Mpdreamz opened this issue Nov 6, 2024 · 1 comment · Fixed by #58
Open
9 tasks
Tracked by #2

card directive #25

Mpdreamz opened this issue Nov 6, 2024 · 1 comment · Fixed by #58
Labels
authoring Relates to our markdown parser

Comments

@Mpdreamz
Copy link
Member

Mpdreamz commented Nov 6, 2024

Card

Cards provide an easy way for you to content into a standard “header”, “body”, “footer” structure that has a similar alignment and visual style. It is useful for creating galleries or high-visibility collections of links and information.

Kind Link
Reference
Documentation https://mystmd.org/guide/dropdowns-cards-and-tabs

Implementation

  • Parses directives and aliases
  • Emits HTML
  • Unit tests
  • Validation (emits, warnings and errors).

Specification compliance:

  • Arguments (parsed)
  • Body (parsed)
  • Options
    • header (parsed) - Styled content at the top of the card
    • footer (parsed) - Styled content at the bottom of the card
    • link (string) - If given, clicking the card will direct you to the URL given here.
@Mpdreamz Mpdreamz changed the title card directive (https://mystmd.org/guide/dropdowns-cards-and-tabs) card directive Nov 6, 2024
@Mpdreamz Mpdreamz added enhancement authoring Relates to our markdown parser and removed enhancement labels Nov 6, 2024
@Mpdreamz Mpdreamz linked a pull request Nov 12, 2024 that will close this issue
@bmorelli25 bmorelli25 reopened this Jan 14, 2025
@bmorelli25
Copy link
Member

bmorelli25 commented Jan 14, 2025

Do we want these to build landing pages with? (with #26)

@bmorelli25 bmorelli25 mentioned this issue Jan 14, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Relates to our markdown parser
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants