On Jun 11, 2013 2:53 AM, "Stuart Rackham" <[email protected]> wrote:
>
>
>
> On 11/06/13 18:46, Dan Allen wrote:
> >
> > On Mon, Jun 10, 2013 at 9:13 PM, Tong Sun <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     PPS, Alan, does asciidoctor have such blogpost attribute?
> >
> >
> > Asciidoctor solves the icons headache by offering an option to use Font
> > Awesome to render icons (-a icons font). I got tired of worrying about
> > the path to icons all the time, so this is now my preferred choice. It's
> > not hard to add this to AsciiDoc by tweaking the HTML backend.
>
> That's a nice idea, managing icon locations adds a lot of complexity,
> but it does allow you to customize your icons.

Indeed, it's been a very popular feature and we've had a lot of fun with it.

You'd be surprised how sophisticated the font icons can get. You can pick
any icon (through CSS config), they can be scaled to any size, you can
color them, you can add depth to them (shadows and such) and they can even
be animated. The most important thing in my mind is that they look
consistent because they are designed as a set.

Btw, to answer the original question (though I don't use Wordpress to blog,
I use Awestruct), what I did before switching to Font-based icons was set
the path to an absolute web path. That way, no matter where the document
gets published within the site, the icon path stays fixed.

-Dan

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to