Showup is still in a state of active development. Very risky to use, but that's all the more reason to give it a try! Break, fix, repeat.
Click here. Type "angular" to see the search in action.
This lil' plugin makes some decisions for you, so it's important you know what these are, should you want to make some overrides.
First, here's what's expected and required for this to work:
- Showup will have full control of a "container" div.
- You keep a "wordmap" JSON file. (details below)
- You keep your posts as .md files in a single location.
- You like awesome things!
[
"id:the-filename-of-your-post",
"every",
"word",
"from",
"your",
"post",
"id:the-filename-of-another-one-of-your-posts",
"every",
"word",
"from",
"this",
"post",
"too"
]
Bootstrap the plugin.
@ {
container
(DOM Element)
posts
('path/to/posts/')
wordmap
('path/to/wordmap/file.json')
}
Load a markdown file, process, and append to the container.
@ String
name of the file, without the '.md' extension
Takes a block of markdown, processes it, and injects into the container.
@ String
block of markdown