asciidoctor-vscode
                                
                                
                                
                                    asciidoctor-vscode copied to clipboard
                            
                            
                            
                        Export to PDF does not work on M1 Macs
Hi there, This issue is exactly the same as #79, but now for M1 macs. The error message is:
Error downloading https://github.com/joaompinto/wkhtmltopdf/releases/download/v0.0.1/wkhtmltopdf-darwin-arm64.gz   Error: http error404
Specifically, we need an arm64 binary.
Thanks, Phil
You should install it manually using Rosetta mode:
It's working for me. Installed via Homebrew on the terminal in Rosetta mode. 1 - Run the terminal in Rosetta mode. 2 - brew install wkhtmltopdf
According to https://github.com/wkhtmltopdf/packaging/issues/98#issuecomment-904414634
(...) I think it'll hard to port Qt4 to it, unless the arm64 support works as-is. So Rosetta seems to be the only option for the foreseeable future.