Skip to main content

A MkDocs plugin to filter extra content that was to markdown documents for e.g. formatting docx files.

Project description

mkdocs-word-filter

Strips extra content from markdown files that was added e.g. for converting the files to docx using pandoc

Stripped content can include for example:

Install

python -m pip install mkdocs-word-filter

Usage

Active the plugin in mkdocs.yml. You can specify the ignorable strings as a list under the filter-lines-with

plugins:
    - search 
    - mkdocs-word-filter:
        filter-lines-with:
            - \toc
            - \newpage

Note: If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set, but now you have to enable it explicitly.

More information about plugins in the MkDocs documentation.

See Also

More information about templates here.

More information about blocks here.

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

mkdocs-word-filter-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_word_filter-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-word-filter-0.1.1.tar.gz.

File metadata

  • Download URL: mkdocs-word-filter-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.5

File hashes

Hashes for mkdocs-word-filter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 606b038801db712eddc83c39371774797985aa41575f67bd35e285198534c3bc
MD5 70c21be1675dfa4c09e90d9ae2987441
BLAKE2b-256 932f265324f9d7837253c0d14f84e5fbbef7b1ca7c206710356573af75bb6dd1

See more details on using hashes here.

File details

Details for the file mkdocs_word_filter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_word_filter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.5

File hashes

Hashes for mkdocs_word_filter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 daf199a4efbf5e8effabca5d3b0c80d4c0eb404c68cfd15a17be701eb969d596
MD5 e81d867736d5d0a0e9bf84684eb02e43
BLAKE2b-256 99548ab5ad7a97c7fbea1493e3ff13877a200bd5fadf5c8685811f5d81920f63

See more details on using hashes here.

Supported by

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