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

In GitHub.io documentation, underscores in setting names are rendered as italic delimiters #405

Closed
LyndonGingerich opened this issue Jul 26, 2022 · 2 comments

Comments

@LyndonGingerich
Copy link

Section titles in https://fsprojects.github.io/fantomas/docs/Configuration.html appear to render _foo_ as foo, in italics. Thus, for example, fsharp_space_before_parameter is rendered as "fsharp space before_parameter" (though without spaces).

Weirder, the URL for that section is https://fsprojects.github.io/fantomas/docs/Configuration.html#fsharp-space-before_parameter. Notice the inconsistency of hyphens and underscores in the target anchor.

@LyndonGingerich LyndonGingerich changed the title In GitHub.io documentation, setting names are rendered incorrectly In GitHub.io documentation, underscores in setting names are rendered as italic delimiters Jul 26, 2022
@nojaf
Copy link
Collaborator

nojaf commented Jul 27, 2022

Hello Lyndon,

The documentation is actually hosted on https://github.com/fsprojects/fantomas.
There we use F# Formatting to generate the website.

The bug you are describing look like this one:
fsprojects/FSharp.Formatting#389

I couldn't find a bug about the hyphens, feel free to report (and solve) it over at https://github.com/fsprojects/FSharp.Formatting.

@LyndonGingerich
Copy link
Author

@nojaf Newbie mistake, sorry. Many thanks!

@LyndonGingerich LyndonGingerich closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2022
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

2 participants