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

Adding shortcodes for card groups and cards #532

Merged
merged 1 commit into from
Apr 28, 2021
Merged

Conversation

deining
Copy link
Collaborator

@deining deining commented Apr 27, 2021

This PR adds three shortcodes cardpane, card and card-code in order to allow authoring of cards and card groups. Cards may held either text or programming code. For a preview have a look at the implementation details and the documentation given here:

https://deploy-preview-532--docsydocs.netlify.app/docs/adding-content/shortcodes/#card-panes

I hope you like the feature.

@deining deining changed the title Addig shortcodes for card groups and cards Adding shortcodes for card groups and cards Apr 27, 2021
@LisaFC
Copy link
Collaborator

LisaFC commented Apr 27, 2021

This is great! @Symbolics, weren't you looking for a card feature?

@Symbolics
Copy link

This is great. I was looking for something like this.

@LisaFC
Copy link
Collaborator

LisaFC commented Apr 28, 2021

Looks really good! Nice clear docs too. Let's merge it!

@LisaFC LisaFC merged commit fb2e9c9 into google:master Apr 28, 2021
@deining deining deleted the cardpane branch April 28, 2021 15:24
@@ -38,5 +38,5 @@
<link rel="stylesheet" href="{{ "/css/prism.css" | relURL }}"/>
{{ end }}
<!-- stylesheet for tabbed pane -->
<link rel="stylesheet" href="{{ "/css/tabbed-pane.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/shortcodes.css" | relURL }}"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up that this line was deleted (inadvertently it would seem) by a later PR. For details, see #694.

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.

4 participants