~ferruck/yafg

9b697db4 — Philipp Trommler 2 months ago master v0.3
Release v0.3
5bbea662 — Philipp Trommler 2 months ago
Update copyright years
54e6ba18 — Philipp Trommler 2 months ago
Refactor

Move the building of the <figure /> and <figcaption /> elements into
subfunctions to improve readability.
43a2186f — Philipp Trommler 2 months ago
Support images nested inside of links

Because Python's ElementTree's XPath syntax is not really complete, we
need a strange matching function in order to recognize the images.
23e2467d — Philipp Trommler 2 months ago
Preserve attributes set by attr_list

In order to preserve attributes of the image set by the built-in
attr_list extension, yafg has to have a different priority. 8 seems to
be the sweet spot, 9 doesn't work. Note that this is just a hacky
heuristic and may break other plugins.

Additionally, another processor seems to run too early or late now,
because we have to manually add a newline after each figure tag in
order to preserve the current behaviour.

This will haunt me one day.
aed2345f — Philipp Trommler 2 months ago
Provide IDs for figures

Given IDs, the figures can be link targets.
99d72a15 — Philipp Trommler 3 months ago
Make the figure number title user-changeable
35c2cd83 — Philipp Trommler 3 months ago
Allow custom classes for figure numbers
fd27d197 — Philipp Trommler 3 months ago
Add the possibility for figure numbers
bbff2be3 — Philipp Trommler 3 months ago
requirements.txt: Allow for newer Markdown versions
5c6ae54b — Philipp Trommler 11 months ago v0.2
Add support for CSS classes
b793599f — Philipp Trommler 11 months ago
Support both Python 2.7 and Python 3.6

Also test both versions in the CI pipeline
a7285a00 — Philipp Trommler 11 months ago
Use virtualenv

Instead of installing with

    pip install -e .

during development and handling dependencies that way, just use
virtualenv as everyone else does.
5e498308 — Philipp Trommler 1 year, 15 days ago v0.1
Add a .build.yml

That file will run all unit tests and if the latest git tag matches the
version noted in setup.py, it will upload the package to PyPI.
bedabd7e — Philipp Trommler 1 year, 16 days ago
Initial commit

This includes a first working version of the yafg Markdown plugin. It
can handle multi-line captions and has an option to strip the original
title from the image.

It also includes a setup.py which should enable an upload to PyPI, but
no .build.yaml, yet.