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

Deindent notes shortcodes #4206

Merged
merged 6 commits into from
Nov 15, 2023
Merged

Deindent notes shortcodes #4206

merged 6 commits into from
Nov 15, 2023

Conversation

IanMadd
Copy link
Contributor

@IanMadd IanMadd commented Nov 15, 2023

Description

The .InnerDeindent method handles indented text in a markdown page so that it renders properly.

The previous method (.Inner) could lead to weird HTML rendering when a shortcode is indented in a markdown page and the text it wraps is also indented.

See the relevant discussion on Hugo Discourse.

This also cleans up the foundation_tab shortcodes and deletes two shortcodes we don't use.

Definition of Done

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussion that's relevant]

Related PRs

Check List

  • Spell Check
  • Local build
  • Examine the local build
  • All tests pass

Signed-off-by: Ian Maddaus <[email protected]>
Signed-off-by: Ian Maddaus <[email protected]>
@IanMadd IanMadd requested a review from a team as a code owner November 15, 2023 19:18
Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for chef-web-docs ready!

Name Link
🔨 Latest commit f41dbd2
🔍 Latest deploy log https://app.netlify.com/sites/chef-web-docs/deploys/65551e9f10c63100084c8eb7
😎 Deploy Preview https://deploy-preview-4206--chef-web-docs.netlify.app/config_rb_metadata
📱 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.

Signed-off-by: Ian Maddaus <[email protected]>
Signed-off-by: Ian Maddaus <[email protected]>
Signed-off-by: Ian Maddaus <[email protected]>
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@IanMadd IanMadd merged commit e434b4e into main Nov 15, 2023
10 of 11 checks passed
@IanMadd IanMadd deleted the im/notes branch November 15, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant