XAMPPRocky / tokei

Count your code, quickly.
Other
11.02k stars 532 forks source link

[Feature Request] Analyze Org mode (.org) file just like Markdown, which can be decteted any code blocks #662

Open tan-wei opened 3 years ago

tan-wei commented 3 years ago

Tokei has a great feature:

Tokei will now detect any code blocks marked with specified source language and count each as their respective languages or as Markdown if not present or not found. Now you can easily see how many code examples are included in your documentation.

If org-mode file can be analyzed like Markdown file, it will be great.

Thanks for this great project.

XAMPPRocky commented 3 years ago

Thank you for your issue! Would you be able to provide some information and documentation on the org mode syntax, and what you would expect to happen? I don't use org mode myself, so I'm unfamiliar with what it should look like.

tan-wei commented 3 years ago

Thanks for your reply! Code blocks in Org mode, just like them in Markdown with a special label. I think the link here is more verbose.