QMarkdownView
Description
QMarkdownView is a package based on PySide6 designed to help you preview Markdown documents.
Markdown by default supports code highlighting and LaTex mathematical formulas.
How to use
Firstly, you need to introduce the QMarkdownView library.
from QMarkdownView import MarkdownView, LinkMiddlewarePolicy
You can use the component class `MarkdownView`` we provide.
widget = MarkdownView()
MarkdownView inherits from QWebEngineView.
You can change the Markdown rendering plugin through the setExtension member function. The markup rendering engine for this function library is python-markdown.
widget.setExtensions(["markdown.extensions.tables", "markdown.extensions.extra"])
You can modify Markdown text through the setValue member function.
widget.setValue("# Hello world!")
Warning: You need to call this function after the component is loaded.
Metadata
Release files for QMarkdownView 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| QMarkdownView-0.2.tar.gz | 2.0 MB | Without provenance | Details for QMarkdownView-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| QMarkdownView-0.2-py3-none-any.whl | Python 3 | none | any | Details for QMarkdownView-0.2-py3-none-any.whl |
Total release size: 4.0 MB
Release files / QMarkdownView-0.2.tar.gz
| Download URL | QMarkdownView-0.2.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57f647472929c5bfd01de11e70e00a16a573a8b85353b48c31fc9b0a569f390b
|
|
BLAKE2b-256 checksum How to use checksums |
f183e98cf135e150e6b63666d071d1997a50bb079e4505ff04dbb383656c7f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / QMarkdownView-0.2-py3-none-any.whl
| Download URL | QMarkdownView-0.2-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
645bb0010a8d21488edbd3767e6d63d06f437e0b1317252763ce2529ec8953e8
|
|
BLAKE2b-256 checksum How to use checksums |
a0103dcf599146a68064d33156406cb866cdfe606ebe117356412e6cdbf85625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for QMarkdownView 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.