Skip to content

Conversation

@aabhinavvvvvvv
Copy link
Contributor

Docs: Fix Flags section rendering on fn doc page

Description

The "Flags" section on the kpt fn doc reference page does not render correctly. The fenced code block for the Flags section was missing the shell language specifier, causing Hugo to interpret it as LaTeX math notation ($$...$$) instead of rendering it as a formatted code block.

Fixes #4372

Motivation

All other fenced code blocks in the fn docs (including the Environment Variables section on the same page, and the Flags sections in fn eval, fn render, fn source) use ```shell. The fn doc Flags block was the only one using bare ```, causing broken rendering on the documentation site.

The fix adds the shell language specifier to match the convention used everywhere else.

@netlify
Copy link

netlify bot commented Feb 9, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit cbc00e9
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6989e7a2b6a1fc0008f679f4
😎 Deploy Preview https://deploy-preview-4377--kptdocs.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 project configuration.

Signed-off-by: aabhinavvvvvvv <abhinavguptaxia9213@gmail.com>
@aabhinavvvvvvv aabhinavvvvvvv force-pushed the fix/fn-doc-flags-rendering branch from 71a0ddd to cbc00e9 Compare February 9, 2026 13:56
@CsatariGergely CsatariGergely merged commit b2b6702 into kptdev:main Feb 10, 2026
8 checks passed
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.

Fix malformed usage text on kfm fn doc page

4 participants