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

Add .adoc to filetypes #354

Open
petdance opened this issue Feb 23, 2022 · 5 comments
Open

Add .adoc to filetypes #354

petdance opened this issue Feb 23, 2022 · 5 comments
Labels
filetype Default filetypes and ignores

Comments

@petdance
Copy link
Collaborator

https://asciidoc.org/

@petdance petdance added the filetype Default filetypes and ignores label Feb 23, 2022
@thiagowfx
Copy link

I asked ChatGPT which extensions to add here:

What are the file extensions for AsciiDoc?
The file extensions for AsciiDoc files are typically .adoc, .asciidoc, or .asc. 

.asc may be confounded with GPG though (https://stackoverflow.com/a/59241707/1745064)

@petdance
Copy link
Collaborator Author

Thanks, and I need something more authoritative than a bot. Some sort of docs.

@thiagowfx
Copy link

From experience, these extensions are indeed correct.

adoc is more popular AFAIK, here’s one example: https://github.com/rochacbruno/asciidoctor-book-template

I’ve seen asciidoc a few times too.

But yeah, if you want to point out to official docs then hopefully someone else can chime in.

@petdance
Copy link
Collaborator Author

petdance commented May 5, 2024

Is this something that still makes sense?

Like --type-add=asciidoc=*.adoc,*.asciidoc ?

@thiagowfx
Copy link

IMHO, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filetype Default filetypes and ignores
Projects
None yet
Development

No branches or pull requests

2 participants