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

mkd extension not displayed as Markdown #3060

Open
pataquets opened this issue Aug 3, 2024 · 1 comment · May be fixed by #3061
Open

mkd extension not displayed as Markdown #3060

pataquets opened this issue Aug 3, 2024 · 1 comment · May be fixed by #3061
Labels
bug Something isn't working

Comments

@pataquets
Copy link

What steps will reproduce the bug?

  1. cp README.md README.mkd
  2. bat README.md: shows file in all fanciness
  3. bat README.mkd: no fanciness 😞

What happens?
mkd extension is not automatically handled as Markdown.

What did you expect to happen instead?
For all *.mkd files to be displayed as Markdown.
Although I stumble with them from time to time, looks like it's not an uncommon practice:
https://github.com/search?q=path%3A*.mkd&type=code

How did you install bat?
GitHub release

bat version and environment

$ bat --version
bat 0.24.0 (fc95468)
@pataquets pataquets added the bug Something isn't working label Aug 3, 2024
@einfachIrgendwer0815 einfachIrgendwer0815 linked a pull request Aug 4, 2024 that will close this issue
@TheUdK
Copy link

TheUdK commented Sep 18, 2024

Until the pull request #3061 gets merged gets merged you can try running `bat --map-syntax='*.mkd:Markdown' or add it to the config file.

Currently the following file extensions get markdown 'fanciness' by default
md, mdown, markdown, markdn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants