9,038 questions
0
votes
0
answers
50
views
Adding ordered list styles to markdown parser
I am using Marked.js for parsing Markdown. The original Markdown language does not support different ordered list styles, for instance, lettered ones, like HTML. I would like to introduce this ...
1
vote
1
answer
111
views
How can i convert & display markdown links in Angular (v19) Material matTooltip
I am working on an Angular app, where in some areas i use the ngx-markdown to format and display some text. Its been straight forward using the markdown tags like so:
<markdown class="thread-...
0
votes
1
answer
64
views
Backstage.io TechDocs Sanitizer is Stripping Custom Protocol Links from <a href> in Markdown
I'm trying to include a hyperlink in my TechDocs that uses a custom URI scheme (e.g., mycustomapp://) to launch a native application from a link. Here's the Markdown snippet I'm using:
This tool is ...
0
votes
0
answers
205
views
How can I configure syntax highlight for Jinja2 in VS Code Markdown file?
In VS Code, when I edit code block (Jinja2) in Markdown file, there is no syntax highlight:
```jinja2
{# comments #}
{% set a=[1,2,3] %}
```
When I change file type to test.jinja2, it works fine but ...
0
votes
0
answers
40
views
CLion autoformatting rules for mkdocs markdown files
Environment
I have a mkdocs project to write my documentation using markdown. I'm using CLion to edit and write the markdown files (since CLion is also my main development tool and I wanted to avoid ...
1
vote
0
answers
54
views
What's the problem with using classes after a folder in PlantUML or vice versa?
Can anyone help with why this does not work?
@startuml
package TestPackage {
folder "Test Folder" {
[Item A]
[Item B]
}
class TestClass
}
@enduml
Naturally that ...
1
vote
1
answer
78
views
how to remove the underline of second level nested ul in markdown?
Cannot remove the underline from the second level of a nested ul in Markdown.
Code
Markdown
* list item (first ul first li)
* list item (second ul first li)
* list item (second ul second li)
* ...
0
votes
0
answers
19
views
dynamic nav panels in quarto document not showing without dummy chunk [duplicate]
While investigating a response to a previous SO question, I found a curious behavior when using htmltools::tagList() and DT::datatable() to display dynamic panels.
Specifically, if I render this ...
0
votes
0
answers
195
views
How do I make Thingsboard Markdown html value function card responsive like the rest of default thingsboard value cards. I need it to be responsive
var totalTRH = 0;
ctx.data.forEach(function(_data) {
if (_data.data.length >= 1) {
_data.data.forEach(function(value) {
totalTRH += parseFloat(value[1]) || 0;
});
}
});
return `
...
1
vote
1
answer
147
views
Quarto PowerPoint slide with two plots side by side and descriptive text at the bottom of the slide?
How can I create a PowerPoint presentation with quarto, with two plots side by side, and include descriptive text at the bottom of each slide (like the one shown in screenshot)? The issue I have is ...
2
votes
0
answers
132
views
Markdown Syntax Highlighting Not Working in Production with Laravel
I'm using a package for rendering Markdown content with syntax highlighting in my Laravel application, and it works fine locally, but on my production server, the code syntax highlighting is not being ...
0
votes
0
answers
70
views
MdXaml doesn't render images from html code
I'm trying to display formatted with Html images from Markdown file in WPF, but without success.
Markdown file Html code part:
<img src="PrsTiefe1.PNG" alt="PrsTiefe1" width=&...
1
vote
0
answers
57
views
How to export markdown to PDF exactly as it appears on the preview?
I have a markdown file that uses some custom extensions for “call-out boxes” as well as some custom code rendering.
The trouble is when I go to export it with pandoc it strips all of that and gives me ...
-1
votes
2
answers
80
views
Annoying underlines in .md file using <a> tag [closed]
I'm getting some annoying underlines in my .md Github file. I tried resizing, removing whitespace and even editing the file and changing it to dark mode.
<!-- Social media section -->
> 🚀 ...
-1
votes
1
answer
120
views
How can I remove pandoc EPUB links in markdown conversion?
I am using the following shell command to convert from EPUB to Markdown,
pandoc "input.epub" -t gfm-raw_html -o output.md
It's working well, except for the fact that EPUB links remain, ...
-2
votes
2
answers
128
views
R: how to convert markdown to html in a vector which is NOT a file
I have a large R-dataframe with some columns that contain strings from a rich text in markdown format. I need to convert these from markdown to html, with R.
I don't want to render it, I don't want ...
0
votes
0
answers
66
views
Can nested code chunks be used when running code interactively in RStudio?
I have Rmarkdown code (full code at the bottom) that works as expected when I click the Knit button in RStudio. However, if I try to run the code interactively by clicking the "Run all code ...
0
votes
0
answers
99
views
parse marked customize for list
I've seen the docs https://marked.js.org/using_pro#renderer and it has no example for the list i want to customize
more detail https://github.com/markedjs/marked/blob/master/src/Tokens.ts#L137 as the ...
1
vote
0
answers
31
views
Add a BlockQuote at the beginning of a Para block when converting MD to HTML with Pandoc
I get the following error when I use a JavaScript Pandoc filter to add a BlockQuote:
Error in $.blocks[1]: When parsing Text.Pandoc.Definition.Block
expected an Object with a tag field where the ...
1
vote
1
answer
41
views
Github markdown: what does the number in the curly brackets mean?
What does the numbers in the curly brackets after the code type mean in (github) markdown? Couldn't find any docs about it
```js{6, 15}
export default {
setup() {
const input = ...
0
votes
0
answers
41
views
How to remove markdown files from treeview in Doxygen 1.9.1
I am using Doxygen 1.9.1 to generate documentation for a code base. It works great generally, except for the top level documentation. I've written the top level docs using markdown, and every file ...
1
vote
0
answers
54
views
Qt widget to edit markdown code and toggle between source view and rendered view?
In my application I want to be able to write markdown code in plain-text and switch between the code view and a rendered view. The rendered view may be read-only except that I want to be able to click ...
0
votes
0
answers
86
views
How to ignore specific rule for regex pattern?
I have Markdown I use for an MkDocs site. I use a Markdown extension called Admonitions, which is formatted like this:
!!! note
This is my note
The content of the admonition must be indented by ...
0
votes
1
answer
299
views
HTML output in LM Studio
I am using Gemma 3 27B Instruct 8bit from MLX community on LM Studio but I notice it outputs HTML tags, for example "< sup>" and "< /sup>" instead of markdown format. I ...
0
votes
1
answer
182
views
How do I create clickable hyperlinks from markdown link format in a Tkinter Text widget?
I'm working on a Tkinter application where I display text in a Text widget. The incoming text sometimes contains markdown-style links in the following format:
[CNN Travel](https://www.cnn.com/travel/...
1
vote
0
answers
42
views
How to preserve MathJax/LaTeX formatting converting from md to org
If I get a mathematical answer from Google Gemini, I can choose copy, then paste it into Emacs. At this point it's presumably markdown, so I save it as somemath.md. When I look at it, it has all the ...
0
votes
0
answers
136
views
Using Markdown-it HighlightJS incorrect rendering of block codes
I'm trying to learn about rendering Markdown inside HTML, and using Markdown-it and Highlight.js I use that code:
template.html
<!DOCTYPE html>
<html>
<head>
<meta ...
0
votes
1
answer
37
views
How can I increase size of rendered Markdown to-do checkmark in IntelliJ IDEA?
When I increase the font size of a rendered Markdown document with to-do list in IntelliJ IDEA, the size of the checkmarks remains small in the Preview section. Is there a built-in way or a plugin ...
0
votes
0
answers
58
views
How to knit paged dataframes with html_vignette
I try to document my R package with a vignette and want to print dataframes paged.
It works with
---
title: "Helpfile"
output:
rmarkdown::html_document:
df_print: paged
---
```{r ...
0
votes
1
answer
44
views
How to sanitize indentation in the lists in a generated Markdown document?
In my Python application I need to render to HTML a Markdown document generated by third-party software. The document contains long lists that contain non-standard and incompatible formatting (...
0
votes
1
answer
47
views
Configuring wagtail-markdown to use Prism instead of Pygments
Is there a way to inject a class into the <code> tag produced by wagtail-markdown so that I can style my Markdown code blocks with Prism instead of Pygments, which is the default syntax ...
0
votes
1
answer
37
views
Preventing pandoc from adding a space after comma used as a decimal separator in math mode
I am using pandoc to convert markdown files containing TeX bits to html.
Because the text is in Italian, I want to use comma as a decimal separator. However, pandoc keeps adding a space after the ...
0
votes
0
answers
86
views
How do I add footnotes inside of code blocks in Markdown, while still keeping the same style as footnotes usually are?
Here is a piece of my code:
a = "Hello!"
print(a) # This works because 'a' is a variable†.
I need to put a footnote at the end of the second line, but the monospace font prevents asterisks ...
0
votes
2
answers
231
views
Having trouble in posit great_tables formatting with whitespace sensitive text , fmt_markdown, cols_width ignored
I am using the great_tables python library from Posit and am trying to format some long text for a particular column in a html table derived from a pandas DataFrame inside a Jupyter Notebook .
The ...
0
votes
0
answers
20
views
How to write a Markdown extension in VuePress
I want to add an extension to VuePress to be able to make left indents for text.
For this, I created a project
pnpm create vuepress-theme-hope my-docs
Added a plugin
@vuepress/plugin-register-...
1
vote
0
answers
55
views
How to have an invisible Latex section that is kept when converted to markdown? (Pandoc)
I'm using Pandoc to convert a Latex project to Markdown (to display it via Dokusaurus).
I would like to define certain sections inside the Latex text that are ignored when compiled as a Pdf, but are ...
0
votes
1
answer
135
views
How to avoid columns of a table to be split across two rows in rmarkdown [duplicate]
I am trying to create a table and knit to PDF with an rmarkdown file:
---
title: "Untitled"
author: "L"
date: "2025-03-13"
output: pdf_document
---
```{r}
set.seed(84)
...
0
votes
0
answers
33
views
How to automatically wrap markdown paragraphs on save in VS Code [duplicate]
As a bit of a code neat-freak, I find myself formatting my README.mds and other various markdown files too much. Often this results in me spending time reformatting an entire paragraph in order to ...
0
votes
0
answers
52
views
Getting colorfull Callouts when converting Jupyter Notebook with nbconvert to pdf
I am converting my Jupyter Notebooks to PDF using nbconvert, which generally works well. However, I would like to highlight certain content, especially Markdown callouts like:
> Callout Block
Is ...
0
votes
0
answers
40
views
Is it possible to add a hashtag/section to a ref-style link in Markdown?
If possible, I'd love to be able to do use a ref-style link but still add on the hashtag/section to the end. e.g. something like this:
Container files are stored in [~/.config/containers/systemd/][...
0
votes
1
answer
138
views
Labelling and automatic caption for plots in quarto in a for loop
I have a MWE (see below, adapted from the Quarto doc), and I am wondering:
Why the label fig-test is not found
Is it possible to automatise the caption with a 'for loop' in the yaml? I found a ...
1
vote
0
answers
248
views
SyntaxError when using @nuxtjs/mdc in Nuxt.js – How to fix?
@nuxtjs/mdc SyntaxError
Okay, so I visited the official documentation at this link.
https://nuxt.com/modules/mdc
and wanted to add the MDC renderer to try using it for Markdown. I installed it using ...
0
votes
1
answer
84
views
Add an HTML class to a paragraph using curly braces syntax
I'd like to append HTML attributes to paragraphs in the same way I can do it for headings, links, images, etc., like so:
# My nice heading {.some-class}
{.some-class}
[a link](...
2
votes
0
answers
96
views
Is it possible to include PlantUML blocks from inside the same markdown file?
I have a markdown file with multiple PlantUML diagrams embedded. I need to reuse some colours which I dont want to have to redefine in every block:
@startuml colordefs
!$BLOCK_COLOR = "#FF7500AC&...
0
votes
0
answers
94
views
Rendering streamed Markdown chunks in IPython/Jupyter
The context is that I'm streaming LLM tokens from a model, and they're in Markdown, so I want to repeatedly append to the rendered Markdown.
This is roughly the code I'm using with bare text:
async ...
0
votes
2
answers
66
views
How disable content actions for markdown files in PhpStorm
When I work with markdown files, this panel pops up when selecting. Is there any way to disable it? It really gets in the way and distracts, for example, I just want to copy some text.
I have already ...
1
vote
1
answer
49
views
Prevent Pandoc from generating autolinks in Markdown [closed]
I'm converting docx to Markdown using Pandoc.
Some links are converted to Markdown autolinks. I would like switch off the autolinks generation in Pandoc, but did not find a way to do that.
Background: ...
1
vote
1
answer
577
views
Markdownlint not respecting configuration file?
I'm running markdownlint against some Markdown files and the rules configurations I have don't seem to be getting applied.
Here's my config file:
.markdownlint.yml
default: true
ignore_front_matter: ...
0
votes
0
answers
22
views
How to disable anaconda linting in markdown's python code block
When writing python code blocks in a markdown file, the anaconda linting shows up for the whole document. Which results in a lot of white rectangles around markdown text.
Is anyone aware of a way to ...
1
vote
1
answer
57
views
Markdown snippets in HydePHP
I'd like to do something like this in my Blade pages:
<div class="accordion-content">
@mdsnippet('snippets/common/some-content-for-multiple-pages.md')
</div>
and then ...