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
0answers
14 views

Github markdown for BDD texts?

Is there a markdown format I can use to create BDD-style text blocks in Github issues? e.g. Given foo and x and y When bar and a and b Then baz and l and m The text above is formatted ...
0
votes
0answers
16 views

Non-English Unicode Support in Hugo Markdown Post

I have hugo installed in my VPS. I use it mainly for my personal blogs. I mainly write posts in english. But sometimes I need to write posts in non-english language (i.e. Bengali) unicode. But ...
0
votes
0answers
7 views

Make indented Table of Content in Markdown for GitHub pages

Summary of my problem I try to create a Table of Content (ToC) for a webpage of my GitHub hosted website. The ToC shows indentation when viewing the .md file, but when visiting the page, there is no ...
0
votes
1answer
20 views

User markdown inside SQL or vice-versa

I've a specific requirement where I'm trying an amalgamation of %md & sql. Either I can include full functionality of md inside sql or sql inside md. Example: md inside sql: %md textA=${temp ...
0
votes
1answer
17 views

youtube link in bookdown

We used this nomenclature [![Open & Collaborative Science Manifesto ](https://img.youtube.com/vi/Y1X0xtB_JcY/0.jpg)](https://www.youtube.com/watch?v=Y1X0xtB_JcY) to include videos with a ...
0
votes
1answer
31 views

Include markdown files in another Readme.md in Azure Devops

In Azure Devops, there is the possibility to view Readme.md files, but I would like to include/merge some text from another .md-file into that document. Or perhaps combine them in a wiki. I am not ...
0
votes
1answer
10 views

Markdown cannot create link inside inline code snippet

Let's say I have the following inline code-snippet: Signature: `createLayer(styles: Styles, prefferedStyle: string)` Signature: createLayer(styles: Styles, preferredStyle: string) How to I add a ...
0
votes
0answers
13 views

Opengraph link previews in Jekyll

When you insert posts in modern writing websites, they display preview instead of link text, which is very convenient for readers. Sometimes they mistakenly use term "embed" for this. In Jekyll ...
0
votes
0answers
39 views

Unable to view inline images in the body of a markdown file in GatsbyJS

I am trying to display images from a Markdown file especially from the body of the markdown file but unable to see them. I am using the recommended plugin configuration by the official GatsbyJS ...
0
votes
0answers
29 views

Capturing footnote output in Jekyll layout

I'm looking to capture the footnote block for placement in a jekyll layout. This question references placing the footnote block within the page the footnotes are generated from, but that's not really ...
2
votes
1answer
67 views

Collect markdown headlines in vim?

I am trying to come up with a TOC (table of contents) of a text document: lines starting with # (hashtag) VIM would "collect" into the buffer or maybe place them at the TOP OF FILE. (Or - other idea -...
0
votes
1answer
56 views

React: clicked link versus direct link

This is probably something very simple, even simplistic, but... I have a React single page app created with create-react-app, a really simple app with only a few routes. App.js import React from '...
1
vote
0answers
15 views

In R package Xaringan, unable to render with infinite moon reader

Using the R package xaringan, I was trying to create a new presentation in RStudio. I wanted to use the very useful feature inifinite moon reader to get live preview of my tweaking of the presentation....
0
votes
2answers
27 views

NLP for markdown text [on hold]

Most NLP packages seem to be designed for plain text. spacy stanford-corenlp Are there any packages made to work with markdown formatted text? The application can be anything that common NLP ...
0
votes
0answers
13 views

Adding dropdown in redoc create using properties file

In swagger redoc I have created external table using markdown, Now I need to create my own dropdown using markdown. Can you please help me out, that I can implement the same.
2
votes
2answers
29 views

Does Jekyll process files with no front matter?

https://jekyllrb.com/docs/variables/ 'Any files with front matter are subject to processing.' https://jekyllrb.com/docs/posts/ 'All blog post files must begin with front matter which is typically ...
1
vote
0answers
11 views

Simple markdown presentation tools on local machine

I have some notions of markdown from what I picked up using jupyter-notebook. I had previously worked quite a bit with LaTeX but found it to be super heavy in terms of generating documents, editing ...
0
votes
0answers
14 views

Markdown: How do I list all unique and most current data?

Every month I receive an Excel list with the sales of our employees (180 different ones in total). From this I have to create a monthly overview. Unfortunately I don't know much about Markdown. Input:...
0
votes
0answers
12 views

Kable: “The table should have a header (column names)” when trying to display data frame in markdown

I am trying to knit my r markdown file to a markdown, but when I use knitr::kable(df, format = "markdown") to display a data frame created with inspect(rules) from the arules package, I get the ...
1
vote
0answers
49 views

stargazer error “length of NULL cannot be changed”

I'm trying to produce a proper table with stargazer in markdown. The linear model code is as follows: k <- lm(mean_p ~ P*MA, data=d) Calling the following stargazer-function however does not work,...
0
votes
1answer
21 views

Github https pages are not working in Microsoft Edge and Internet Explorer

I am using the github pages as web pages, I enforced https to make is secure and also configured my DNS on Cloudflare. My webpages are working fine on google chrome but not working on Microsoft Edge ...
0
votes
0answers
14 views

How can I test this markdown library for ReDoS attack?

I am using the marked.js library for markdown rendering in nodejs: https://marked.js.org/#/USING_ADVANCED.md#options In the 'Workers' section, it states: To prevent ReDoS attacks you can run marked ...
2
votes
0answers
23 views

How do I turn off image rendering when converting markdown to PDF with PowerShell?

I am converting markdown documents to PDF with Pandoc using PowerShell and want to turn off the image rendering. Is there a way to do this without touching the Markdown itself? The Markdown documents ...
0
votes
0answers
8 views

Split and paginate formatted markdown based on html component's size

What I use Vuejs (Quasar Framework), Typescript @quasar/qmarkdown extension What I aim to do Render a view component/a div scaled to the user's screen height Fill in the formatted markdown <q-...
0
votes
1answer
18 views

Dynamically generating single pages with Markdown files

I'm trying to make single project pages in Nuxt, but I can't successfully generate any dynamic pages using markdown. I've followed the entire tutorial here and two things happen that are not part of ...
0
votes
1answer
28 views

First i create Home.js in my component then i try to render markdown in my home component

In my Home.js component the code following : import React from 'react'; import ReactMarkdown from 'react-markdown'; import HomepageMarkdown from '../../markdown/homepage.md'; import Image from '../../...
2
votes
1answer
24 views

Add a link to an image or an caption

I'm writing a document in Docusaurus V2. I understand (from here) that we could insert an image by <!-- reference static/img/docusaurus.png --> ![Docusaurus logo](/img/docusaurus.png) Or // ...
3
votes
1answer
47 views

What HTML tags can be used to send a message on Telegram Bot?

I´m developing a telegram bot in c#. Using the class TelegramBotClient in Telegram.Bot library. I want to send a message with SendTextMessageAsync using HTML option. In the official documentation (...
0
votes
0answers
22 views

Separating line for Pandoc footnotes

I am using the Pandoc footnotes extension in the Atom editor to add footnotes to the Markdown document I'm writing. After saving the rendered document to a PDF, I noticed the separating line dividing ...
2
votes
1answer
40 views

Gatsby + Markdown: How to simply get data from a specific markdown in a single page?

I'm new to Gatsby, and making my best to learn it (along with React, in which I have no prior knowledge either). I'd like to create a single page getting data from one or several markdown files. For ...
0
votes
2answers
43 views

How to create a function for a bar chart with percentage labels

I would like to create a function for a bar chart that contains labels with the respective percentages. The following code creates the bar chart that I would like to see: percentData <- df %>%...
0
votes
0answers
31 views

How can I center a flutter_markdown Widget vertically?

As you can see in the Image there is a Container-widget (grey Box) and in it there's a Markdown-widget from the flutter_markdown Package. I want that the Markdown-element is centered vertially in the ...
0
votes
2answers
34 views

How to add a list of strings to a PDF generated with a R script via LaTeX

I have a dataset with survey results where one column can contain comments by the survey participants. If the respondents did not leave a comment, the respective cell is empty. I wrote a R script to ...
1
vote
1answer
25 views

GNU m4 adds empty lines at top

I am using GNU m4 to preprocess Pandoc Markdown. I have a m4 script that defines a macro to set text in smallcaps named gb_Attr. m4_changequote({{,}}) m4_define({{gb_Attr}}, {{[$1]{.smallcaps}}}) ...
0
votes
0answers
17 views

Markdown to HTML generates undesired U+200B characters (Zero-Width-Space)

I am building a website, and for most pages I need to generate a html file from a markdown document. This is no problem as there are plenty of tools that can do this. However, when I add a code block ...
1
vote
0answers
32 views

Protect XSS on HTML generated from Markdown

Background: I'm making a website similar to blog, where I want to allow users to write articles in markdown. This will be available publically so anyone cna write articles. Technologies used are PHP ...
0
votes
3answers
65 views

How to change markdown fenced block language

I have a lot of code blocks without any language indication in a markdown file, something like: ``` ls -l #any other code goes here ... ``` Would any one tell me how to use sed, or awk or perl to ...
0
votes
2answers
17 views

Research paper abstract paragraph in Markdown

Is there a way to make a specially formatted paragraph in markdown, but without the css? What is needed: a paragraph narrover on both sides by some margin (absolute or relative), preferably in ...
-1
votes
2answers
53 views

How to convert R script into a function [closed]

I wrote a R script to create a PDF (via LaTeX) with R Markdown. The script does what I want it to do but I would like to improve it regarding the DRY principle. Right now I have to repeat myself at ...
0
votes
1answer
33 views

Github pages with Jekyll : order navigation bar and title with minima?

I create a static website with Github and Jekyll ( minima theme). I have two questions the configuration of my pages : First question : How Can I change the order of my navigation bar ? For the ...
0
votes
0answers
28 views

PyCharm's Markdown rendering is beautiful. Is there a way to save it into a pdf or html file as is?

PyCharm renders Markdown very nicely. It looks awesome. I would like to save the rendered Markdown as PDF or HTML file. When I try to print to PDF or save as HTML, it saves the raw (unrendered) ...
0
votes
0answers
23 views

My footer disappears after the first page (but not the header!) in R-Markdown

I have a footer and header set by using the fancyhdr package in a R-Markdown generated PDF. However, at some point I notcied my footer disappears after the first page, while my header appears in each ...
0
votes
1answer
20 views

Wrong line wrap when converting Markdown pipe table to Word/docx

I am trying to convert a document written in Markdown *.md to Word *.docx using pandoc, but am having trouble setting the widths of table columns. As I understand the pandoc documentation, it should ...
0
votes
0answers
14 views

Markdown fences / code blocks background highlighting in VS Code

In Sublime Text, the extension MarkdownEditing has an option to Set Syntax: Markdown GFM. This causes the markdown code fences to have a different background than the main editor background, making ...
2
votes
1answer
35 views

What vimrc settings control syntax highlighting of indented awk code in markdown?

I cannot get indented code to highlight in GAWK in vim markdown model Context: I doing some literature programming in gawk. Comments are markdown syntax and code is GAWK, indented by a tab spaces. ...
0
votes
0answers
7 views

Remark strictness settings

I have the following in a markdown file: # Heading 1 ## Heading 2 ##Heading 2 doesn't render as an H2 How might I allow the second heading to render as an H2? The python implementation of markdown ...
0
votes
0answers
12 views

Github pages Pool/lanyon theme : How to added content in category?

I have fork the pool/lanyon theme for my github pages ( https://github.com/poole/lanyon ) My problem is with the sidebar. To add a category in the sidebar, I created a new file .md with : --- ...
1
vote
1answer
39 views

Angular - Render Markdown with \n

I'm trying to render Markdown inside an Angular application. I was using ngx-markdown with Angular 5 and it was working fine. However, I had to upgrade to Angular 8 and since then, the \n are not ...
0
votes
0answers
26 views

Disable full screen or modal for StackEdit

Our goal: We need the StackEdit editor to render exactly at the same place where the textbox is (the way TinyMCE and other editors do) instead of rendering it in modal/fullscreen/covering the entire ...
0
votes
1answer
11 views

MkDocs - how to create Table Of Contents from mkdocs.yml inside index.md

I am looking for a way to automatically include TOC within .md files. This sounds like something trivial and was available in GitBook and other static website generators for ages. Is there any ...