A bunch of redundant functions to work with markdown and HTML
I use a lot of HTML in my markdowns because of rtl
You could technically achive most of these with tpop's surround (technically).
yes I know pandoc exists! you done? 😒
This plugin is usefull for me, ymmv!
By Wolandark https://github.com/wolandark/redundant
Native vim plugin system:
git clone https://github.com/wolandark/redundant.git ~/.vim/pack/plugins/start/redundant
or use vimplug or whatever
MKHeaderCur
Turn current line into an HTML header - needs arg 1-6MKHeaderAll
Turning lines that start with # into corresponding HTML header tags - needs arg 1-6MKHeaderCurSmart
- Turn current line into an HTML header - smartMKHeaderAllSmart
- Turn all lines that start with # into corresponding HTML header tags - smartMKRTlCur
- Make RTL div around current lineMKCenterCur
- Make align center div around current lineMKBlock
- Make a block qoute in MarkDown using ``` around current lineMKStrong
- Make strong tags around current lineMKSmall
- Make small tags around current lineMKRed
- Make red div arround current lineMKYellow
- Make yellow div around current line