Questions tagged [markdown]

Markdown is a plain text formatting syntax designed so that it can be converted to HTML using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

Filter by
Sorted by
Tagged with
0 votes
2 answers
20 views

Is there a handlebar way to break lines after each {{#each}} in markdown?

I have a JSON dataset which I pass through handlebars to generate .md files, something like this: {{#each items}}| **{{name}}** | {{system.d.v}} | {{system.a.v}} | {{system.p}} |{{/each}} ... and I ...
wendigo's user avatar
  • 23
0 votes
0 answers
12 views

Include custom Blazor control in markdown

I have a markdown document I want to display, and inside the markdown i want to add a custom Blazor control. Markdig is currently just ignoring the whole custom control tag. This markdown: ## my ...
Brad Irby's user avatar
  • 2,407
0 votes
0 answers
9 views

Unable to insert GIF in Markdown header

this README.md code used to render properly on GitHub profile until recently: # Hello <img src="images/wave.gif" width="25px">, 🌏 - ✝️ - Currently in 🇸🇬 - Play🏸and 🏊 ...
ask4physics's user avatar
0 votes
0 answers
10 views

html iframe not displaying indicated id

here's my problem. I am trying to embed an html file into another html file using an iframe. The child html is a markdown file converted to html by GitHub Pages. I created an iframe pointing to a ...
Leonie's user avatar
  • 1
0 votes
0 answers
13 views

Next.Js-having issues in formatting markdown

export async function getPostData(id: string) { const fullPath = path.join(postsDirectory, `${id}.md`); const fileContents = fs.readFileSync(fullPath, "utf8"); const matterResult = ...
Neil Adams's user avatar
0 votes
0 answers
7 views

Frame for grid-tables in Markdown

I want to use grid tables in my Markdown document: +---------------------+------------+ | **Property** | **Earth** | +=============+=======+============+ | | min | *-89.2* °C | | ...
dr_begemot's user avatar
0 votes
0 answers
24 views

How to make an HTML textarea that outputs a live Markdown preview of the input with vanilla-ish JavaScript? [closed]

Let's say I have an HTML <textarea> as part of an upload form for a file's description. The description supports GitHub Flavored Markdown as part of the PHP League's League\CommonMark package. ...
Simón Chasnovsky's user avatar
-1 votes
0 answers
12 views

Converting .md Files to HTML in Vue and Laravel Project Using Docker

I'm using Vue combined with Laravel for the backend. I use docker, but I haven't had much experience with it, so I don't know how it works. The project is built on it. How (preferably easier and ...
Robert Juszczyński's user avatar
0 votes
1 answer
65 views

ReactMarkdown + remarkGfm: everything renders as expected, EXCEPT tables - typeError?

I am testing ReactMarkdown to be able to render HTML tables from chatgpt generated markdown syntax. I've installed react-markdown and remarkGfm. But I keep getting this error: TypeError Cannot set ...
clappingPenguin's user avatar
0 votes
1 answer
20 views

R Markdown flexdashboard shiny leaflet app

I'm trying to create an interactive leaflet map dashboard using R markdown and shiny runtime. I need to select multiple values from two fields based on which my map will draw. This works so far, but I ...
jaykay's user avatar
  • 73
-3 votes
0 answers
25 views

Is it posible to use markdown-it-music without node.js?

I want to add the plugin markdown-it-music to markdown-it without using Node.js, because my website runs on Python/Flask. But there is no markdown-it-music.js or anything like that. According to my ...
frieda21's user avatar
1 vote
1 answer
44 views

How to make an onclick html button in markdown to view a table?

I'm sorry if this is a stupid question as I am a new to this. I am trying to create a markdown file to document a data analytics mini case study that I am doing. I wanted to make it a little bit ...
newbiejellyfish's user avatar
1 vote
0 answers
13 views

How do I keep these bullet points centered, but have the bullets aligned to the left together

<p align="center"><small> - Total number of months included in the dataset <br> - Net total amount of profit/losses over the entire period <br> - Average of the ...
Elliot's user avatar
  • 11
0 votes
1 answer
23 views

Hidden column header getting displayed when rendered in Quarto Markdown

I have a simple quarto markdown which generates table using gt package from a data frame. Example: --- title: "Untitled" format: pdf editor: visual --- ``` ```{r,include = FALSE, echo = ...
Golem's user avatar
  • 131
0 votes
0 answers
48 views

Render mermaid from markdown

I have Swagger UI Node module which should render any code start with ``` to a code block. What I would do is a small enhancement which made the generated as shown below: ```mermaid your code goes ...
NoOoNY's user avatar
  • 15
2 votes
1 answer
117 views

Passing c-style strings into a c library in C++ (md4c)

I'm trying to implement md4c into a C++ program I'm writing. It offers an markdown to html method in its md4c-html header, here's its documentation: To convert a Markdown input, call md_html() ...
DressOrc's user avatar
0 votes
0 answers
34 views

How to hyperlink with myST substitute

I am building documentation of my project using Sphinx, Doxygen and CMake. In my project, there are several markdown files where I have to hyperlink different links. There is a common style in these ...
user10634362's user avatar
0 votes
0 answers
8 views

Interactive image for markdown cell

I want to prepare an image to be used in Jupyter in markdown cell. The image should have frames to go interactively through. An image can be produced in some graphical program with layers. I tried to ...
Igor T. Podolak's user avatar
-1 votes
1 answer
14 views

Trying to run a markdown code on my notebook and having some issues what do i do?

i am trying to use markdown code to import an img on my jupyter notebook when i press shift enter instead of displaying the img itthis is an example will shift to a new cell and u will see the code ...
Abdussamad's user avatar
-1 votes
1 answer
35 views

How can I bold the title in YAML Header?

I have a question regarding R Studios. I have to create a pdf report in R. My problem: I don't know how to bold the title and subtitle in the YAML Header. I can't choose the bold option there. Thanks ...
Super Tag's user avatar
-1 votes
0 answers
14 views

Clipping the text in a table in Github Markdown [closed]

I've been trying to display a table in Github Readme markdown. But the text does not seem to clip even though I had my own CSS script to the html for the table. It says that Github does not apply ...
Shambhavi's user avatar
0 votes
0 answers
19 views

Rejex for markdown

Need to convert this text to two groups I have added one markdown CUSTOM_CLS_RE = r"[!]{2}(?P<class>[^!]+)[|](?P<text>[^!]+)[!]{2}" Which convert I love !!text-alert|spam!! TO ...
Selva Ganapathi's user avatar
-5 votes
0 answers
23 views

what are the new Changes that comes down to MARKDOWN language of github readme? [closed]

I am finding issue in customizing my own readme.md of my github repo. Please anyone explain me the complete changes and syntax of whole markdown queries for the same Fully guided support with every ...
Dev Zeus Mathew's user avatar
0 votes
0 answers
13 views

When I use <details></details> in Jupyter Notebook with a summary (markdown), the arrow doesn't show

When I click to the side, the summary still shows
Filotimo's user avatar
1 vote
1 answer
13 views

Github markdown - image not rendering

I struggle with rendering an image in a readme file on Github. As soon as I add mathjax after the image, the rendering doesn't work. <br> We plot the results: ![My Image](./demo_figure.png) &...
reloh100's user avatar
0 votes
0 answers
11 views

How to customize the /CommentTok Latex command (or its presettings) to change the color of comments inside the markdown blocks?

Markdown blocks look using the same color schemes. The comments have the same style with bash, java or sql blocks. It's convenient. > ```bash > # Importe la bande n°4 de l'image satellite en ...
Marc Le Bihan's user avatar
1 vote
0 answers
18 views

Is it possible to edit rendered markdown (in flutter)?

I'm working on a notes app in flutter, and I want it such that the user can interact with rendered markdown by default. For example, the user types in whatever they want into a text box then they can ...
user22538392's user avatar
0 votes
0 answers
20 views

How to apply styles for `gt` table in the rmarkdown

I have a rmarkdown which contains table built using gt package. When I run the code chunk for generating table it prints in the desired format but in the word output. It doesn't get that format. ...
Golem's user avatar
  • 131
0 votes
1 answer
17 views

May I factorize more the header I'm creating at the top of my markdown documents? It has constant parts, but also variables ones

I have organized the generation of my markdown documents that way: export APPRENTISSAGE_HOME=the folder where my documents are /apprentissage gen.sh : a script running a command: 'pandoc -f ...
Marc Le Bihan's user avatar
1 vote
2 answers
54 views

How to disable automatic pairing of triple backticks in VS Code in Markdown files while keeping other auto-pairings?

I've been enjoying the features of Visual Studio Code, but there's one specific behavior that has been counterproductive for me: the automatic pairing of triple backticks (```) in Markdown files. To ...
Webia1's user avatar
  • 53
-1 votes
2 answers
47 views

How to Efficiently Convert a Markdown Table to a DataFrame in Python?

I need to convert a markdown table into a pandas DataFrame. I've managed to do this using the pd.read_csv function with '|' as the separator, but it seems like there's some additional cleanup required....
Kilian Shiliao's user avatar
0 votes
1 answer
38 views

Convert markdown to mdast tree with gfm extention don't work (Cannot set properties of undefined (setting 'inTable'))

I try to convert an .md file to a mdast tree(JSON) using a gfm extention in Next.js 13 and I got an Typescript in VSC and Next.js "Cannot set properties of undefined (setting 'inTable')" ...
Nicolás Jorge Vera's user avatar
0 votes
0 answers
27 views

How to install `@tailwindcss/typography` plugin correctly in NextJs?

Currently, I have a NextJs with tailwindcss project. The project has a blog page that should render markdown content with .prose style provided by tailwind typography plugin. But, the problem here is ...
Maulana Adam Sahid's user avatar
0 votes
1 answer
45 views

How can I use a Quarto variable to include a code block?

I am trying to de-clutter a Quarto markdown document, using variables to include code blocks. I've created a _variables.yml file with view: arvores: | {python} #| echo: false #| label: ...
Hugo's user avatar
  • 1,558
0 votes
0 answers
17 views

Jekyll routing and Collection

I started building my blog with Jekyll, i have the following structure: About.md index.md _posts article1.md article2.md other files... how should I set my _config.yml file so I show the articles ...
rezgar mohammed's user avatar
0 votes
0 answers
34 views

Why are the images not loading on GitHub?

As you can see in the screenshot below, the images in the README.md file are not loading on GitHub. Screenshot of GitHub repo: Here's the html section in the README file. Yes I could just use ...
Rohan Nag's user avatar
0 votes
0 answers
29 views

dangerouslySetInnerHTML not displaying h1, h2. h3,... tags

In a NextJS + Tailwind project I'm trying to read markdown content. All tags like strong, italic, etc. work, but not the headings. Same result with parse from "html-react-parser" library, ex ...
taha maatof's user avatar
  • 1,892
0 votes
0 answers
28 views

Uncaught (in promise) Unexpected end of input

I want to fetch a Markdown API, find out the link here:https://www.markdownguide.org/api/v1/basic-syntax.json, but it dosen't work i had this error: Uncaught (in promise) SyntaxError: Unexpected end ...
we learn's user avatar
0 votes
0 answers
8 views

Run within Emacs a make command that is to be launch in a parent directory

For a LaTeX FAQ based on the Sphinx documentation generator, the source of which is made up of Markdown files, I use Markdown mode. Once the source files are ready to be checked, the corresponding ...
Denis Bitouzé's user avatar
0 votes
0 answers
25 views

Markdown heading hierarchy

In markdown we can have subheadings but if h2 comes before h4 comes before h3 comes before h4, the last h4 is considered a subheading of h3 but the earlier h4 is considered a subheading of h2. Is it ...
squirrels's user avatar
  • 303
0 votes
0 answers
12 views

How can I write colored quote with icon in markdown?

This is my first time to see a colored quote with icon in https://github.com/rome/tools/blob/main/npm/rome/README.md. How can I do that? As far as I tested I copied and pasted its original source ...
Takuya HARA's user avatar
0 votes
2 answers
82 views

"Click to enlarge" a plain <img> tag with pure CSS and no HTML changes

I'm working on a website where I only have control over (part of) the CSS code. I can't add JavaScript code, and I also can't change the HTML of webpages (because it comes from a Markdown compiler, ...
Mew's user avatar
  • 376
0 votes
0 answers
10 views

How to refer to the title of a section, as a bookmark in a separate md file, by a menu link?

I have a Hugo-driven structure as below - config - _default - menus.yaml - content - authors - admin - _index.md - home - A.md According to this ...
User's user avatar
  • 948
0 votes
1 answer
21 views

My VS Code is opening Markdown files with a fancy editor with an outline and formatting buttons in a row above the text input

after updated VS Code I got editor on my MD files. Is there a way to disable it? I already checked my extensions but none of my extension related to this MD editor. I just want my normal MD file like ...
flyingduck92's user avatar
  • 1,450
0 votes
0 answers
30 views

SVG frozen in GitHub README

I put Platane/snk in my GitHub README this way: [![Snk](https://raw.githubusercontent.com/diegoborba25/diegoborba25/output/github-contribution-grid-snake-dark.svg)](https://github.com/Platane/snk) ...
Diego Borba's user avatar
  • 1,907
0 votes
0 answers
17 views

How to render images inside an ordered list in GitHub markdown?

I am having problems rendering an image that's placed inside an ordered list. Currently, my code looks as follows: 4. Element number four. a) ![image](link-to-public-image-in-google-drive) b)...
Arturo Sbr's user avatar
  • 5,597
0 votes
0 answers
20 views

font size won't update automatically in markdown - vscode

I have an issue with markdown in vs code. When I want to change the font size of my text with ## such as ## text then I validate the markdown with the check, the text won't display in bigger font. I ...
sarah's user avatar
  • 1
0 votes
0 answers
33 views

What markdown formatter does RStudio use to convert to canonical markdown?

I want to write a script to automatically convert .qmd, .Rmd, or .md files into the "canonical visual mode markdown" format that RStudio uses when writing Markdown in it. With that option ...
Luke W. Johnston's user avatar
1 vote
0 answers
14 views

How can I make the content in my index.md file right-to-left (RTL)?

I want to change the content direction to RTL to accommodate Arabic text. How can I achieve this? I have a Markdown file named index.md that contains content for a webpage. This content includes ...
Roqaia Alrfou's user avatar
1 vote
0 answers
74 views

React-Markdown Next.js 13 does not render markdown properly, rehypePlugins elements are also ignored

I am trying to implement markdown on my blog built in Next.js 13 using react-markdown and rehypeRaw to allow HTML in it. I am using "use client" in this file. However, my text only shows up ...
1voy's user avatar
  • 11

1
2 3 4 5
174