![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.