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

CodeBlockComponent: F# closing endregion comment tag included in rendered text. #1058

Open
JeffreySax opened this issue May 15, 2024 · 0 comments

Comments

@JeffreySax
Copy link

This is similar to #428 but for F#.

F# does not have region directives. It uses // for end-of-line comments and (* *) for delimited comments.

Given MAML

<code language="f#" source="code.fs" region="sample" />

and the F# code in code.fs:

// #region sample
let x = 1
// #endregion

this renders:

let x = 1
//
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

No branches or pull requests

1 participant