add: doc photodown
This commit is contained in:
53
doc/photodown/gallery.md
Normal file
53
doc/photodown/gallery.md
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Block
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
+++++
|
||||||
|
config
|
||||||
|
---
|
||||||
|
style
|
||||||
|
---
|
||||||
|
content
|
||||||
|
+++++
|
||||||
|
```
|
||||||
|
|
||||||
|
### Config
|
||||||
|
|
||||||
|
| type |
|
||||||
|
| --- |
|
||||||
|
| image-list |
|
||||||
|
|
||||||
|
| direction |
|
||||||
|
| --- |
|
||||||
|
| down |
|
||||||
|
| up |
|
||||||
|
| left |
|
||||||
|
| right |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Style
|
||||||
|
Just css
|
||||||
|
|
||||||
|
|
||||||
|
### Content
|
||||||
|
|
||||||
|
```
|
||||||
|
![img1]
|
||||||
|
description 1
|
||||||
|
--
|
||||||
|
![img2]
|
||||||
|
description 2
|
||||||
|
--
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
| name | usage |
|
||||||
|
| --- | --- |
|
||||||
|
| style | Your custom css, multiline supported |
|
||||||
|
| content | Your bozodown |
|
||||||
|
|
||||||
|
## Effect
|
||||||
|
|
||||||
|
Create a group of image
|
16
doc/photodown/image.md
Normal file
16
doc/photodown/image.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Image
|
||||||
|
|
||||||
|
Permit you to use your own image without think about small, thumb, large, reference the bulk page. Always permit you to use external image with the url
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
![./bulk/path_to_image/image_large_name_without_ext]
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example
|
||||||
|
On my server I got this image `bulk/01613/01613.png`, so I will used put
|
||||||
|
```
|
||||||
|
![./bulk/01613/01613]
|
||||||
|
```
|
||||||
|
And the python will display an image clickable who link to the bulk page
|
11
doc/photodown/readme.md
Normal file
11
doc/photodown/readme.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# PhotoDown
|
||||||
|
|
||||||
|
Just a simple extension of [BozoDown](../bozodown/readme.md)
|
||||||
|
|
||||||
|
## Add
|
||||||
|
|
||||||
|
- [Pictures gallery]()
|
||||||
|
|
||||||
|
## Modify
|
||||||
|
|
||||||
|
- [image](./image.md)
|
6
doc/readme.md
Normal file
6
doc/readme.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# PhotoHUB
|
||||||
|
|
||||||
|
## Tools
|
||||||
|
|
||||||
|
### Generate page
|
||||||
|
To let user create his own page this project use [BozoDown](./bozodown/readme.md) with the [PhotoDown](./photodown/readme.md) extension
|
Reference in New Issue
Block a user