posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

Added a Markdown Gist extension #170

Closed hooli closed 11 years ago

hooli commented 11 years ago

Markdown gist extension plus a couple of fixes. Kept them in separate commits.

greatghoul commented 11 years ago

nice feature.

greatghoul commented 11 years ago

Can acrylamind run on windows?

hooli commented 11 years ago

Yep, just install python (say v2.7)

posativ commented 11 years ago

Hi @hooli, good work! I think, the distinguish function – which works as a "YAML not found" fallback – needs some love; especially your mentioned case with commas inside a string. In YAML you could write such cases in quotes:

filter: [
  "Markdown+codehilite(css_class=highlight,force_linenos=True)",
  Jinja2
] 

I'll think about a better fallback (maybe shlex ?).

@greatghoul, Acrylamid works quite good on Windows (tested and verified by @maphew) but as far as I know from you, only for Windows 7 and higher (as far as I tested).

greatghoul commented 11 years ago

@posativ .. I am still on windows xp.

So I must startup a virtual machine to write posts.

Which feature does acrylamind use on Windows 7. If possible, I will make acrylamid runs on xp.

posativ commented 11 years ago

You tried some time ago and it caused several UnicodeDecode issues... not sure if they are fixed now (PY3K-compatible code base). Otoh I do not have a XP machine (not even virtual) to test Acrylamid under your conditions (chinese locale).