lektor-embed-x
Enables simple embedding of web-contents from popular sites in MarkDown(*.md) pages generated by Lektor CMS.
Current Status: Alpha.
Minimally works for limited number of content providers. Active development is ongoing.
Setup
Simple way
$ cd path/to/lektor/project_folder
$ lektor plugins add lektor-embed-x
Package lektor-embed-x (0.1.2) was added to the project
Geek way
$ cd path/to/lektor/project_folder
$ cd ./packages
$ git clone https://github.com/kmonsoor/lektor-embed-x.git
Then add this line to your_lektor_project..lektorproject file's [packages]
section.
lektor-embed-x = 0.1.2
Then, remember to flash the plugin-cache of Lektor
. Just in case.
$ lektor plugins flush-cache
Usage
You need nothing explicit to enable the embedding in MarkDown formatted text on Lektor. If the content link is supported by embedX project, the content link will automatically expanded to become embedded staff.
For example, check out the sample post and its output below.
sample post
respective output
Apology
Please note that this is a very nascent one-man project under active development and just out of pre-alpha phase. Hence, not many providers or link format is there. Yet. But, I hope it will be mature in a short time. Your feedback, reported issues and pull-requests will be highly valuable.
Copyright: (c) 2016 Khaled Monsoor k@kmonsoor.com
Distributed under The MIT License.
Click for license details.