Skip to content

Strikethrough formatting on markdown fields not working #7531

@rmblake

Description

@rmblake

NetBox version

v3.0.7

Feature Type

Change to existing functionality

Proposed Functionality

In any markdown-supporting textbox:

Currenty the '~~' for strikethrough isn't parsed, in as in the example below. It turns out that Markdown is a far more controversial topic than I had expected, other products such as docuwiki
![image](https://user-images.githubusercontent.com/2751074/136980053-8e52e5b1-747b-4a23-bcc5-694b4f6cd0ff.png

As stated by Jeremy in the comments this is down to the fact that the Python Markdown library only supports the original 'official' markdown syntax, which has been extended with the strikethrough/tilde feature by many other implementations, github being one of the more notable cases.

Use case

Our example use case is that currently we use netbox's journal function to log any issues with circuits, including tickets raised - in this example our supplier reissued a new problem ticket reference for a long-suffering DSL with a new reference and we wanted a way to make it clear that the existing ticket reference was no longer valid.

Database Changes

I do not believe there would be any changes to the database structure as part of this feature request.

External dependencies

As netbox uses the python markdown library, an obvious suggestion for a further dependency (as already made by @tb-killa in comments) would be the tilde extension of the pymdown-extensions library

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions