Pages: Welcome | Projects

Test grab

2015/10/14
Tags: [ PFT ]

Here I'm testing a new feature of PFT, that is pft grab. If everything works, you should see a cute teddy bear here.

orson.jpg

Here's the thing: including a picture or an attachment in a PFT site usually requires a bit of manual work. The picture must be moved in a certain directory. Two pictures may have the same name, so a good idea could be having subdirectories.

This is not difficult but boring. So I added a simple pft grab command. I'm too tired to document it out, but I needed it. It's trivial. It installs the picture or attachment into the right directory, and outputs the markdown coordinates of it.

The picture mode includes a picture (as you can probably see) while the attachment creates a download link