mirror of
https://notabug.org/scuti/pleroma-comments
synced 2025-01-10 03:57:51 +05:30
readme edit. less blocky text
This commit is contained in:
parent
9c02e55d51
commit
f9561730f2
@ -11,10 +11,12 @@ The filter uses the variable `pleroma-urls` for input which can be defined in th
|
||||
|
||||
* `pleroma-urls`: a list of strings that should contain the URLs of the posts to source replies from.
|
||||
|
||||
The following are optional. If both are defined, the script will not hotlink avatars and download them. If multiple pages will be storing avatars in the same folder, use Lua by creating a `config.lua` and assigning the variable there. If a specific page will have its own directory for images, define the variable in the YAML header.
|
||||
The following two are optional. If both are defined, then the script will download avatars and will not use hotlinks.
|
||||
|
||||
* (lua) `pleroma_avatar_path`: (yaml) `pleroma-avatar-path`: a string ending in `/`, the folder containing avatars as referenced by the web page (e.g `<img src="(pleroma-avatar-path)/avatar.png"/>`).
|
||||
* (lua) `pleroma_avatar_save_path`: (yaml) `pleroma-avatar-save-path`: a string ending in `/`, the folder in which avatars are downloaded to.
|
||||
1. (lua) `pleroma_avatar_path`: (yaml) `pleroma-avatar-path`: a string ending in `/`, the folder containing avatars as referenced by the web page (e.g `<img src="(pleroma-avatar-path)/avatar.png"/>`).
|
||||
2. (lua) `pleroma_avatar_save_path`: (yaml) `pleroma-avatar-save-path`: a string ending in `/`, the folder in which avatars are downloaded to.
|
||||
|
||||
If multiple pages will be storing avatars in the same folder, use Lua by creating a `config.lua` and assigning the variable there. If a specific page will have its own directory for images, define the variable in the manuscript's YAML header.
|
||||
|
||||
The filter exports variables that can be used in a Pandoc template.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user