
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
PythonVuetifyMarkdown
Advanced tools
This is an extension for Python-Markdown created for those who combine Python, Markdown, Vue, and Vuetify. I've been using this combination in several projects, and finally came across a need to process Markdown code, and keep it styled with Vuetify. Rather than McGuyver some solution in, I settled on a simple extension to do the heavy lifting.
The code is dead simple, and can be modified or extended to fit your needs.
pip install PythonVuetifyMarkdown
Here's a quick example of usage within a Django project. We have a Page model for custom pages, and a function to return the content parsed through Markdown.
from django.db import models
from django.utils.html import mark_safe
import markdown
from python_vuetify_markdown import PythonVuetifyMarkdown
class Page(models.Model):
title = models.CharField(max_length=200)
body = models.TextField()
def get_body_as_markdown(self):
return mark_safe(markdown.markdown(self.body, extensions=[PythonVuetifyMarkdown()]))
With this, you can create a Page object, and when displaying the body, you can use Page.get_body_as_markdown()
to pass in the Markdown-formatted code.
Currently, this extension modifies several tags, and adds spoiler text functionality. The styles can be found on the Vuetify Typography page.
There is none. This is a small side project, like 30 minutes of research and work went into it. Good luck.
FAQs
Adds Vuetify typography classes to various tags
We found that PythonVuetifyMarkdown 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
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.