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

chore: improve cards compatibility with steps #197

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

imfing
Copy link
Owner

@imfing imfing commented Nov 10, 2023

for use cases such as:

{{% steps %}}

### Step 1

This is the second step.

{{< cards >}}
  {{< card link="../callout" title="Callout" icon="warning" >}}
  {{< card link="/" title="No Icon" >}}
{{< /cards >}}


### Step 2

This is the second step.

### Step 3

This is the third step.

{{% /steps %}}

since empty lines will be treated as Markdown thus generating unwanted <p> tag that messes up the HTML

Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 55954c0
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/654ec03515bcc60008414ae5
😎 Deploy Preview https://deploy-preview-197--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 merged commit 21b0acd into main Nov 10, 2023
4 checks passed
@imfing imfing deleted the improve-cards-in-steps branch November 10, 2023 23:45
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