chef / chef-web-docs

All The Documentation
https://docs.chef.io
Other
131 stars 438 forks source link

Deindent notes shortcodes #4206

Closed IanMadd closed 8 months ago

IanMadd commented 8 months ago

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

netlify[bot] commented 8 months ago

Deploy Preview for chef-web-docs ready!

Name Link
Latest commit f41dbd2b01bf9a7ea17da1bf1701a11eae30bdd1
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.

sonarcloud[bot] commented 8 months ago

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