
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
mkdocs-table-reader-plugin
Advanced tools
MkDocs plugin to directly insert tables from files into markdown.
MkDocs plugin that enables a markdown tag like {{ read_csv('table.csv') }}
to directly insert various table formats into a page.
For a workflow with other plugins see the blogpost building reproducible reports with MkDocs
Install the plugin using pip
:
pip install mkdocs-table-reader-plugin
Next, add the following lines to your mkdocs.yml
:
plugins:
- search
- table-reader
If you have no
plugins
entry in your config file yet, you'll likely also want to add thesearch
plugin. MkDocs enables it by default if there is noplugins
entry set.
In your markdown files you can now use:
{{ read_csv('path_to_table.csv') }}
Where the path is relative to the location of your project's mkdocs.yml
file, or your project's docs/
directory, or the location of your markdown source file (all 3 possible locations will be searched, in that order).
.csv
, .fwf
, .json
, .xls
, .xlsx
, .yaml
, .feather
and .tsv
. There is also the read_raw()
reader that will allow you to insert tables (or other content) already in markdown format.table-reader
is compatible with mkdocs-macros-plugin
. This enables further automation like filtering tables or inserting directories of tables. See the documentation on compatibility with macros plugin for more examples.FAQs
MkDocs plugin to directly insert tables from files into markdown.
We found that mkdocs-table-reader-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.