Hi, I just noticed that there is an (undocumented?) asciidoc attribute -- "blogpost".
Today, I tried to see if I can have those nice-looking asciidoc icons in my blog. According to blogpost's manpage ( http://srackham.wordpress.com/blogpost1/), it should be possible, because: The generated HTML content is scanned for HTML anchor (*a*) and image (*img*) > tags, if these tags refer to local media files then they are processed as > follows... So I assumes that those nice-looking icons would be translated into HTML anchor (a) and image (img) tags, then get further processed by blogpost to upload them, the local media files, to the proper place specified by '--media-dir'. So I tried, asciidoc --attribute icons --attribute iconsdir=../../../../media test.adoc Yes, that produces the nice-looking icons. blogpost.py -v --attribute icons --attribute iconsdir=../../../../media --media-dir=../../../../media post test.adoc Strangely the nice-looking icons are gone in the blog. Instead, they are shown as plain texts. I think the '--attribute blogpost' option that blogpost passes to asciidoc might has something to do with it. PS. The reason I choose --media-dir=../../../../media is because the wordpress blog url are in the form of "wordpress.com/yyyy/mm/dd/title/", so "./../../../media" would land the icons right in the wordpress.com/media" folder. Thus according to the blogpost manpage, the icons would only be uploaded once, even if used in different posts. Any comments? Thanks PPS, Alan, does asciidoctor have such blogpost attribute? -- 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.
