ack3 icon indicating copy to clipboard operation
ack3 copied to clipboard

Add .adoc to filetypes

Open petdance opened this issue 3 years ago • 5 comments

https://asciidoc.org/

petdance avatar Feb 23 '22 15:02 petdance

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)

thiagowfx avatar Dec 25 '22 14:12 thiagowfx

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

petdance avatar Dec 26 '22 03:12 petdance

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.

thiagowfx avatar Dec 26 '22 09:12 thiagowfx

Is this something that still makes sense?

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

petdance avatar May 05 '24 03:05 petdance

IMHO, yes.

thiagowfx avatar May 05 '24 07:05 thiagowfx