Literate programming #7231
-
Literate programming languages, such as Literate Haskell, Literate Agda, and Literate Coffeescript, are currently marked with their literate extensions (e.g., |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Have you looked at the code and tested this? 😉
You are referencing a PR that is over 10 years old. Things change in that time including the fact that linguist does support extensions with multiple segments as you can see in the code here: Lines 61 to 73 in 1647b5b … and can also see from the many instances in the The only language Linguist know about that has linguist/lib/linguist/languages.yml Lines 3981 to 3989 in 1647b5b … which was added many many years ago. As this is the only language with that extension, all instances will be identified as that language. In the case of your You can see all the other literate languages linguist supports and their extensions in the languages.yml file immediately after the Literate Agda entry referenced above. This all brings us to the real question: what brought you to this incorrect conclusion and prompted you to start this discussion? What problem are you seeing? |
Beta Was this translation helpful? Give feedback.
No. Not anything more than what’s in the docs directory. Generally this is sufficient for most as this library is primarily used by GitHub and that’s how users “interact” with it.
Feel free to submit a PR. You can find details in the CONTRIBUTING.md file. Note that we have minimum usage requirements for PRs to be accepted.
If you don’t want to or can’t submit a PR, you can implement an override in your repos to force the language.