[discussion] AsciiDoc instead of Markdown?

47 views
Skip to first unread message

Jörg Hohwiller

unread,
Sep 21, 2017, 12:50:32 PM9/21/17
to mojohaus-dev
Hi there,

I migrated my personal OSS projects entirely from Markdown to AsciiDoc. AsciiDoc is way superior to Markdown.
For some projects I do create entire PDF books as documentation from Github Wikis with hundreds of pages using asciidoctor-maven-plugin.

Therefore I just wanted to ask if other users think the same and would welcome to use *.adoc in advance to *.md on github (e.g. Readme.md, Contributing.md as well as in wikis).
Otherwise I am fine with staying as is.

Best regards
  Jörg

Baptiste Mathus

unread,
Sep 24, 2017, 5:00:42 PM9/24/17
to noreply-spamdigest via mojohaus-dev
I'm totally fine with this. I think Markdown becomes unusable/cumbersome for anything more than a small README.

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mojoha...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/15dc6352-bd37-4361-b61e-1a4bab3a542a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hervé Boutemy

unread,
Sep 25, 2017, 4:49:52 PM9/25/17
to mojoha...@googlegroups.com

can you give us a pointer to your projects, to see what a complete migration

looks like?


+1 to add asciidoc to other formats and make a test


Regards,


Hervé


Jörg Hohwiller

unread,
Sep 26, 2017, 9:26:00 AM9/26/17
to mojohaus-dev
Hi Hervé,

README and CONTRIBUTING are easy. For an example look here:
https://github.com/m-m-m/util

For a fairly bigger use of AsciiDoc on github where I was involved see:
https://github.com/oasp/oasp4j/wiki/OASP4J
https://oasp.github.io/assets/PDF/OASP4J.pdf
If interested see also here:
https://github.com/oasp/oasp-docgen/wiki
(build has meanwhile replaced with asciidoctor-maven-plugin making all the XSLT and other stuff obsolete and the build simple and portable via parent POM).
All free OSS for share and reuse.

Cheers
  Jörg


Am Montag, 25. September 2017 22:49:52 UTC+2 schrieb Hervé Boutemy:

can you give us a pointer to your projects, to see what a complete migration

looks like?


+1 to add asciidoc to other formats and make a test


Regards,


Hervé

2017-09-24 23:00 GMT+02:00 Baptiste Mathus <m...@batmat.net>:
I'm totally fine with this. I think Markdown becomes unusable/cumbersome for anything more than a small README.
2017-09-21 18:50 GMT+02:00 'Jörg Hohwiller' via mojohaus-dev <mojoha...@googlegroups.com>:
Hi there,

I migrated my personal OSS projects entirely from Markdown to AsciiDoc. AsciiDoc is way superior to Markdown.
For some projects I do create entire PDF books as documentation from Github Wikis with hundreds of pages using asciidoctor-maven-plugin.

Therefore I just wanted to ask if other users think the same and would welcome to use *.adoc in advance to *.md on github (e.g. Readme.md, Contributing.md as well as in wikis).
Otherwise I am fine with staying as is.

Best regards
  Jörg

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.

To post to this group, send email to mojoha...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/15dc6352-bd37-4361-b61e-1a4bab3a542a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.

To post to this group, send email to mojoha...@googlegroups.com.

Mirko Friedenhagen

unread,
Sep 26, 2017, 9:54:47 AM9/26/17
to mojoha...@googlegroups.com

Jochen Wiedmann

unread,
Sep 26, 2017, 2:03:59 PM9/26/17
to mojoha...@googlegroups.com
On Thu, Sep 21, 2017 at 6:50 PM, 'Jörg Hohwiller' via mojohaus-dev
<mojoha...@googlegroups.com> wrote:

> Therefore I just wanted to ask if other users think the same and would
> welcome to use *.adoc in advance to *.md on github (e.g. Readme.md,
> Contributing.md as well as in wikis).
> Otherwise I am fine with staying as is.

Question: Does Doxia support adoc?

jochen


--
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

Manfred Moser

unread,
Sep 27, 2017, 9:32:18 PM9/27/17
to mojoha...@googlegroups.com
Well the Maven plugin works with asciidoc... I use it for the complete site of the Android Maven Plugin


And github supports it for readme and such as well.

And if you want to do a full site and esp towards pdf output it is generally better (a bit anyway). But for most simple use cases markdown is just fine and better known.Tooling is maybe a bit more common for markdown but there is plenty for asciidoc around as well.

So my vote is +- 0 ;-) 

manfred


--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev+unsubscribe@googlegroups.com.

To post to this group, send email to mojoha...@googlegroups.com.

Hervé Boutemy

unread,
Sep 27, 2017, 11:06:51 PM9/27/17
to mojoha...@googlegroups.com
Thank you Manfred: this is exactly the type of example I wanted to see.
Good news, it can be used as an additional source markup format to maven-site-plugin (see http://asciidoctor.org/docs/asciidoctor-maven-plugin/#maven-site-integration for reference documentation on this scenario)

So, yes, the maven plugin adds asciidoc support to Doxia (see https://github.com/asciidoctor/asciidoctor-maven-plugin/tree/master/src/main/java/org/asciidoctor/maven/site for the integration code)

and full +1 for me if anybody wants to add some pages in src/site/asciidoc: we'll see later if we really migrate existing content from other source formats.
After some successful test in on Mojohaus plugin, we could add the configuration of this new format in parent pom.

I think I'll open a PR to improve the explanations about this scenario: in this scenario, the "asciidoctor-maven-plugin" artifact is not used as a Maven plugin but as a Doxia module. That's where the explanation is confusing for some people who better know the internals of maven-site-plugin vs Doxia... :)

Regards,

Hervé

Hervé Boutemy

unread,
Nov 12, 2017, 4:45:24 AM11/12/17
to mojohaus-dev
first PR is online: https://github.com/asciidoctor/asciidoctor-maven-plugin
explanations about the 2 ways of using asciidoctor (as an independant plugin or as a Maven site integration) should be easier to understand
feedback welcome

I'll see how to have the changes also in http://asciidoctor.org/docs/asciidoctor-maven-plugin/


Then: if anybody want to add asciidoc as additionnal Markup language in MojoHaus parent pom, or any plugin, I think you can do it.

Regards,

Hervé
Reply all
Reply to author
Forward
0 new messages