You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Benedict <pb...@apache.org> on 2014/05/12 20:15:10 UTC

What's a good plugin to translate markdown content?

I am looking for a plugin that can generate HTML from markdown document.
This is not about using the site goal but static pages for a site. Anyone
been using something like this?

Cheers,
Paul

Re: What's a good plugin to translate markdown content?

Posted by Paul Benedict <pb...@apache.org>.
Curtis, yes, the site plugin contains the support for the markdown content
but only if you're doing a site. There's no straightforward way (or anyway
that I know of) to take advantage of doxia as part of a project's build
(not the site build).


Cheers,
Paul


On Fri, May 16, 2014 at 7:24 AM, Curtis Rueden <ct...@wisc.edu> wrote:

> Hi Paul,
>
> > I am looking for a plugin that can generate HTML from markdown document.
>
> You could write your own plugin that uses Markdownj. Or easier: a groovy
> script that does so with groovy-maven-plugin bound to the desired Maven
> goal. [1]
>
> Otherwise, Doxia already supports Markdown so maven-site-plugin could work,
> couldn't it?
>
> -Curtis
>
> [1] We use this to code generate sources using velocity:
> https://github.com/imagej/imagej-ops/blob/imagej-ops-0.3.0/pom.xml
>
>  On May 16, 2014 3:26 AM, "Paul Benedict" <pb...@apache.org> wrote:
>
> > I am looking for a plugin that can generate HTML from markdown document.
> > This is not about using the site goal but static pages for a site. Anyone
> > been using something like this?
> >
> > Cheers,
> > Paul
> >
>

Re: What's a good plugin to translate markdown content?

Posted by Curtis Rueden <ct...@wisc.edu>.
Hi Paul,

> I am looking for a plugin that can generate HTML from markdown document.

You could write your own plugin that uses Markdownj. Or easier: a groovy
script that does so with groovy-maven-plugin bound to the desired Maven
goal. [1]

Otherwise, Doxia already supports Markdown so maven-site-plugin could work,
couldn't it?

-Curtis

[1] We use this to code generate sources using velocity:
https://github.com/imagej/imagej-ops/blob/imagej-ops-0.3.0/pom.xml

 On May 16, 2014 3:26 AM, "Paul Benedict" <pb...@apache.org> wrote:

> I am looking for a plugin that can generate HTML from markdown document.
> This is not about using the site goal but static pages for a site. Anyone
> been using something like this?
>
> Cheers,
> Paul
>

RE: What's a good plugin to translate markdown content?

Posted by Martin Gainty <mg...@hotmail.com>.
I havent used this so this is speculation on my part but supposedly googles jquery-translate will translate your HTML body text

using Bing Translator or Google-api code-key

there is a quick sanity check with isTranslatable( langCode OR language ) so you can test langCode availability before attempting the translate
 

http://code.google.com/p/jquery-translate/wiki/General


Benson may suggest some tools/strategies that will probably be better suited to this task

http://www.basistech.com/solutions/search/?__hstc=117837206.490a4e71e67300c4d4cfa0e096ccf97f.1400065515328.1400065515328.1400065515328.1&__hssc=117837206.1.1400065515328&__hsfp=1058780468


the challenge I found is translating from SBCS (English ISO 8859-1 ) to DBCS character sets (such as Hebrew ISO 8859-8)

HTH

Martin
  



> Date: Mon, 12 May 2014 13:15:10 -0500
> Subject: What's a good plugin to translate markdown content?
> From: pbenedict@apache.org
> To: users@maven.apache.org
> 
> I am looking for a plugin that can generate HTML from markdown document.
> This is not about using the site goal but static pages for a site. Anyone
> been using something like this?
> 
> Cheers,
> Paul