Skip to main content

Markdown extension for vimwiki todos and tags

Project description

markdown_vimwiki

Python Markdown extension for useful vimwiki additions

Todo lists

The plugin supports the standard vimwiki style todo lists:

* [ ] To do
* [.] 0-33% complete
* [o] 33-66% complete
* [O] 66-99% complete
* [X] 100% complete
* [-] rejected

leads to:

<ul>
<li class="done0"> done0</li>
<li class="done1"> done1</li>
<li class="done2"> done2</li>
<li class="done3"> done3</li>
<li class="done4"> done4</li>
<li class="rejected"> rejected</li>
</ul>

By default, it uses all the same defaults as vimwiki's syntax. That is, it uses .oOX for g:vimwiki_listsyms and - for g:vimwiki_listsym_rejected, and applies the CSS classes used by the default HTML generation tool.

These are customizable. For the following markdown:

* [i] yip
* [a] yap
* [o] yop

expecting:

<ul>
<li class="yip"> yip</li>
<li class="yap"> yap</li>
<li class="yop"> yop</li>
</ul>

configure as follows:

markdown(source, extensions=[VimwikiExtension(
    list_levels='iao',
    list_classes=['yip', 'yap', 'yop'])])

Tags

The plugin currently supports styling tags (but nothing else):

:lorem:ipsum:

leads to:

<p><span class="tag">lorem</span> <span class="tag">ipsum</span></p>

The class used is customizable with the tag_class config option.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_vimwiki-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

markdown_vimwiki-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file markdown_vimwiki-0.1.2.tar.gz.

File metadata

  • Download URL: markdown_vimwiki-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for markdown_vimwiki-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8ab7a8456500f1f458a10d6bd50ab7cd85e9680a90dd8bd91b0d618a15d88f3d
MD5 dd7018c54c0feda4ea7359cf13f9a879
BLAKE2b-256 608984d6bc0e1a7816c68ba2ea4b2efae243d56d4722677a4cd9d7d40d64dbcf

See more details on using hashes here.

File details

Details for the file markdown_vimwiki-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: markdown_vimwiki-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for markdown_vimwiki-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5652b5fb119371ced4cb51477159b49cc13f2edac3c3ff217c850e8fef681ec7
MD5 ee8933019833e4e09891d5476b4f4894
BLAKE2b-256 817d1b0b9574c61695f5f4841002cf3773886182d027bae275e5b7dc1afaf17d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page