asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.86k stars 296 forks source link

v1.7.4 Previews not working #542

Closed Ulathar closed 2 years ago

Ulathar commented 2 years ago

Hello there,

I can't seem to get the previews to work using .md Markdown documents, see this very simple test file: grafik

There are no errors or warnings on the console / log and when I convert to PDF or HTML the output looks good, too. So I have no clue why the preview is always empty / just a white page.

rahmanusta commented 2 years ago

Hi, Markdown is not a supported format in AsciidocFX.

Ulathar commented 2 years ago

You mean in terms of previews or in general? Because the converted / exported documents work just fine, also it offers syntax highlighting when you choose "Markdown" as file type. Now i am confused :).

rahmanusta commented 2 years ago

AsciidocFX is using the Asciidoctor library, which supports the Asciidoc markup language. Additionally, it can support a small set of support for Markdown, but it is not that fully supported in Asciidoctor and AsciidocFX. If you don't have a spesific reason I may recommend you using Asciidoc rather then Markdown :)

Ulathar commented 2 years ago

Ah understood, that makes sense, thank you for the clarification! In most cases I use Asciidoc documents but in this particular case the actual file is used with a live preview of the MD file in Bitbucket which does not work with Asciidoc files.

Issue resolved then, i'ed say (unless MD support is planned for the future).