[PR #13490] [CLOSED] Allow render_markdown to have custom css classes #14192

Closed
opened 2025-12-29 23:23:05 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13490
Author: @jsenecal
Created: 8/17/2023
Status: Closed

Base: developHead: 13055_allow_markdown_classes


📝 Commits (2)

  • a195dfc Allow render_markdown to have custom css classes
  • 0c7141d Update docstring

📊 Changes

1 file changed (+14 additions, -3 deletions)

View changed files

📝 netbox/utilities/templatetags/builtins/filters.py (+14 -3)

📄 Description

(cherry picked from commit 3e852acc8e)

Fixes: #13055

This extends usability of the markdown template filter for use cases where one needs to add CSS classes in a specific rendering context.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/13490 **Author:** [@jsenecal](https://github.com/jsenecal) **Created:** 8/17/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `13055_allow_markdown_classes` --- ### 📝 Commits (2) - [`a195dfc`](https://github.com/netbox-community/netbox/commit/a195dfc8dc6c3d30920973e39e81d35274b68c2e) Allow render_markdown to have custom css classes - [`0c7141d`](https://github.com/netbox-community/netbox/commit/0c7141d48a8ddbae89f104b0f7b837835a3f2c4d) Update docstring ### 📊 Changes **1 file changed** (+14 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/templatetags/builtins/filters.py` (+14 -3) </details> ### 📄 Description (cherry picked from commit 3e852acc8ec48f5b7d32811f4d9dec0ccdfa5970) ### Fixes: #13055 This extends usability of the `markdown` template filter for use cases where one needs to add CSS classes in a specific rendering context. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:23:05 +01:00
adam closed this issue 2025-12-29 23:23:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14192