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

Feature: code toggle #480

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Feature: code toggle #480

merged 2 commits into from
Mar 25, 2022

Conversation

razonyang
Copy link
Owner

@razonyang razonyang commented Mar 25, 2022

The code-toggle shortcode generates codes in toml, yaml and json format with one codebase.

Fixed #429.

Example:

{{< code-toggle filename="config" >}}
[build]
  writeStats = true
{{</ code-toggle >}}

20220326002601

@netlify
Copy link

netlify bot commented Mar 25, 2022

Deploy Preview for hugo-theme-bootstrap ready!

Name Link
🔨 Latest commit af89b44
🔍 Latest deploy log https://app.netlify.com/sites/hugo-theme-bootstrap/deploys/623def23a042670008614b91
😎 Deploy Preview https://deploy-preview-480--hugo-theme-bootstrap.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 settings.

@razonyang razonyang merged commit d5b7c51 into master Mar 25, 2022
@razonyang razonyang deleted the feat-shortcode-code-toggle branch March 25, 2022 16:36
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.

Code Toggle
1 participant