Skip to content

fix(opencode): add F# code fence alias#29016

Open
Arcadi4 wants to merge 1 commit into
anomalyco:devfrom
Arcadi4:fix/fsharp-code-fence
Open

fix(opencode): add F# code fence alias#29016
Arcadi4 wants to merge 1 commit into
anomalyco:devfrom
Arcadi4:fix/fsharp-code-fence

Conversation

@Arcadi4
Copy link
Copy Markdown

@Arcadi4 Arcadi4 commented May 23, 2026

Issue for this PR

Closes #28965

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

F# syntax highlighting already had a parser and WASM configured, but Markdown code blocks labelled F#/f# did not resolve to the existing fsharp parser. This adds f# as an alias on the existing F# parser config so OpenTUI can resolve the Markdown fence label to fsharp and use the existing parser.

How did you verify your code works?

Ran the test suite and a local build to confirm F# Markdown code-fence highlighting works (see screenshots).

Screenshots / recordings

Before:

F# Markdown fence before fix

After:

F# Markdown fence after fix

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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.

[FEATURE]: Add F# wasm for syntax highlight

1 participant