belaudiobooks / website

Catalog of belarusian audiobooks
GNU General Public License v3.0
32 stars 6 forks source link

Endpoint to render HTML book description from markdown source #82 #83

Closed frombrest closed 1 year ago

frombrest commented 1 year ago

This is only backend half of required work. I would be happy if anybody could help with customization admin change/add book page to embed dynamically updated preview field

Backend render interface:

POST /markdown_preview
Request Body: <markdown text>
Response Body: <html text>

@nbeloglazov Let me know if you wish to make it JSON-like, or admin authorized only. But it may bring some additional complexity for frontend with escaping special characters and making authorized requests

frombrest commented 1 year ago

Btw, have you thought about enabling Discussion section for this repository?