mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
start with some thinking about the problem ...
This commit is contained in:
parent
1f2bb0bc6d
commit
6be21214b0
1 changed files with 14 additions and 0 deletions
14
doc/include.md
Normal file
14
doc/include.md
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Include Feature
|
||||||
|
## Requirements
|
||||||
|
The user can include page title, abstract or the whole content in a given page. Headings and enumerations can be indented by a given include-level.
|
||||||
|
|
||||||
|
## Thoughts & Questions
|
||||||
|
* Which include syntax should be used?
|
||||||
|
* page include can be definde alongsite of image includes - sth. like `#[indent-level](relative or absolute url)`
|
||||||
|
* Which kind of urls should we accept for page includes?
|
||||||
|
* relative local urls (we will need some care to prohibit directory traversal ...)
|
||||||
|
* absolute github / gitlab / gitblit urls without authentication.
|
||||||
|
* Which metadata can be used for title / abstract ?
|
||||||
|
* MultiMarcdown-Metadata is supported by clj-markdown :-)
|
||||||
|
* How can we test page includes?
|
||||||
|
* we will need a content resolver component for testing and at least one for production resolving.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue