aboutsummaryrefslogtreecommitdiff
path: root/source/blog/2014-11-05-apple-is-pushing-yosemite-hard.md
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-07-23 10:29:05 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-07-23 10:31:58 -0700
commit44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91 (patch)
treee3524b6c3338d01f4ad24af274e6edfc4d200a91 /source/blog/2014-11-05-apple-is-pushing-yosemite-hard.md
parent740b9301747a5a401cd9c3a6f2a80b3d510dd5f9 (diff)
downloadmy_new_personal_website-44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91.tar.xz
my_new_personal_website-44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91.zip
pyblog: make HTML postprocessing extensible
Previously there's only one postprocessing function `number_code_lines`, which directly reads an HTML file, and after processing, writes back. Now the reading and writing is handled by a dedicated dispatcher `postprocess_html_file`, which can call multiple postprocessors that operates on a soup object.
Diffstat (limited to 'source/blog/2014-11-05-apple-is-pushing-yosemite-hard.md')
0 files changed, 0 insertions, 0 deletions