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.

1
vote
1answer
23 views

How to fix my Jekyll website from only loading locally

I cloned and modified a LogChimp Jekyll theme locally on my Windows 10 and pushed my changes to an online Github Pages repository titled "Timeline". I input bundle exec jekyll serve in my terminal ...
1
vote
1answer
35 views

Replace Markdown heading tags with custom in Python Markdown

We want to replace the default h tags, introduced by markdown using #, with a custom HTML Tag. For Parsing Markdown to HTML we use the Python Library Markdown. We have tried to register an extension ...
0
votes
0answers
20 views

MathJax not working when used between opening and closing HTML tags

Why does MathJax fails to work when used between opening and closing HTML tags. Illustration: When the markdown is <p>The complexity is $O(n)$</p>, the math is not rendered properly. ...
1
vote
0answers
23 views

Visual Code Studio and Markdown Extensions

I am editing Markdown files using Visual Studio Code but I also use Python extensions. How can I configure VS Code so its build-in Markdown preview to be able to display the effects of the extensions?...
0
votes
1answer
19 views

R freezes when loading pdf with multiple plots

Im generating three plots of some data in r markdown. When Kniting the code and the pdf document appears R freezes. The plots are generated by a 1gb dataframe. Have anyone experienced this problem ...
0
votes
2answers
25 views

Why do I get a double frame around markdown code block on Jekyll site?

I am using markdown to create posts for a Jekyll blog with the Jekyll-Now theme, hosted on GitHub Pages. I am highlighting code using fenced code blocks (with three back ticks) and when posted, the ...
2
votes
1answer
25 views

How to add a space between list items in markdown?

How are dashes in md files rendered into <ul><li>..</li><ul>? Is there a way to alter it into <ul><li><p>..</p></li><ul>?
0
votes
1answer
24 views

Markdown Validator

I am migrating a discussion forum from OSQA to Discourse. I am stuck at one problem in doing so. Since its a discussion forum for coding related topics, much of the posts contains code snippets. ...
0
votes
2answers
25 views

What is the alternative of “hidden” attribute in Markdown?

I hide image using hidden attribute: <img src="https://i.postimg.cc/26fT2WHW/1.png" alt="image" hidden/> What is the Markdown alternative of hidden attribute?
2
votes
1answer
38 views

In markdown, is there a way to bold multiple punctuation marks (not words/numbers)?

I am a beginner using jupyter notebook and I'm making personal outlines for python in markdown. There are certain areas where I need to bold the commas (,) because they blend too much into the text. ...
-1
votes
0answers
22 views

Drawing a box enclosing part of a text in a paragraph

Just checking if this is something possible. I could not find anything similar discussed in SO before. I would like to enclose/draw a box which looks exactly similar to highlighting part of the text ...
1
vote
0answers
29 views

How to read frontmatter from an MD file and store it in a global variable?

I am trying to read the frontmatter of a markdown file from a function and return the file's title. emample.md --- title: My Title in MD description: This is an example --- Here is some example ...
0
votes
0answers
8 views

Custom Tags for Markdown tags

Using markdown-it we can convert the markdown into HTML with rules defined to convert the markdown tags(like #) to htmls tags(like <h1>). However, I would like to know if its is possible to ...
0
votes
0answers
31 views

Issues in combining HTML code and markdown code

I have started using markdown to write an ebook as it is easy to generate EPUB and other file formats. However, I have started combining HTML code into markdown (pandoc), as markdown has some limited ...
-1
votes
0answers
25 views

R markdown - presenting R code with a greater number of styling options

This question was originally about converting a piece of R code to HTML. R Markdown was used to convert R code to HTML. This worked quite well but I was dissapointed with the styling options. See ...
0
votes
0answers
13 views

jupyterlab doesn't display png image

jupyterlab fails to display png image: ![title](image/filename.png) results in showing only displaying the title. I have the following installation JupyterLab v0.35.4 Known labextensions: app ...
1
vote
1answer
31 views

R Markdown - specific issues with header and footer

I am using R Markdown for showing the results of statistical analyses that I am conducting for my company. I would like to include the company logo at the upper right corner of the first page and ...
-1
votes
1answer
28 views

GatsbyJS - Blog posts not loading on direct link

I've been playing with Gatsby for a while now and absolutely love it. I did come across a little issue that I have no clue how to fix. I'm rendering blogs posts from my markdown files. ...
1
vote
1answer
16 views

Creating table of contents on the markdown file itself

Is it possible to create table of contents in the markdown file itself with pandoc?
0
votes
0answers
11 views

Add pause/play button for a gif on markdown html

How can I add a pause/play button on GIF embedded in markdown? This is what I have "![]https://media.giphy.com/media/ATt7p8OO4mvvO/giphy.gif)"
-2
votes
0answers
33 views

Markdown to static HTML [closed]

I have multiple markdown files for example: ./welcome.md + tutorials/ howtodummy1.md howtodummy2.md + about contactinfos.md shop.md ... with pandoc, i can automatically convert each *...
0
votes
1answer
41 views

How to link to internal link with ampersand?

I am trying to make an internal link to a heading called "word & word". Since I am using Jekyll, the content is in Markdown files and the heading I want to link to looks like this: ### word & ...
-3
votes
0answers
47 views

Convert Markdown to HTML using Swift [closed]

I'm testing some backend Swift with Vapor and I'd like to convert Markdown pages into HTML like I've done it before using Marked.js with Node.js. Is there any library that could let me do this or ...
-1
votes
1answer
36 views

How to make text preview with php, given text stored as markdown

The text might have code blocks, so cutting the part and then processing is not a solution. I was thinking about special syntax for splitting the text into preview and main part for markdown, but did ...
0
votes
0answers
21 views

pandoc can't convert tables from markdown to epub in ubuntu

pandoc can't convert a tables from markdown to epub3 in ubuntu. I tryed table formats. (simple_tables, multiline_tables, and pipe_tables of php/emacs variation with enable option) and convert table to ...
1
vote
0answers
17 views

Set background color on Visual Studio Code Markdown Preview

I'm currently using the default Dark+ color theme on Visual Studio Code and the markdown preview is using the same style (black background color and white text). How can I change to a light theme ...
1
vote
1answer
21 views

How can I get Pandoc to preserve my reference links?

I'm using the Pandoc-format extension in Visual Studio Code to format my markdown documents. I write my reference links in a similar style to Les Vesti, like this: This is a test file, created ...
1
vote
1answer
22 views

It is possible to generate console highlighting for markdown with pandoc?

I'm writing some documentation in markdown and trying to render it with pandoc. I'd like to be able to highlight an interactive shell session, by bolding commands typed by the user. So, I hope that ...
0
votes
1answer
21 views

Jekyll, Markdown, adding warning box in code block

I have several code blocks on a Jekyll page that is similar to this: <script src="https://cdn.jsdelivr.net/npm/prebid-universal-creative@latest/dist/creative.js"></script> <script> ...
0
votes
2answers
23 views

Click Handler in markdown gatsbyjs

is there any way to add a onClick handler in a markdown file. I create pages with "create pages" from markdown in gatsbyjs and they contain tables. every row has a "add" on the end that should open a ...
-1
votes
0answers
54 views

Using HTML to include / import / merge MarkDown

I'm working on a big document which I want to be seen as a single file in editorswith live preview. However for development its easier if I divide it out into smaller peaces. What i need is: Being ...
0
votes
1answer
23 views

What do the markdown vendor files do for mailables?

I'm using laravel with markdown emails. return $this->from('test@test.com', 'test') ->subject($this->subject) ->markdown('emails.test'); I published the vendor files into my ...
0
votes
0answers
15 views

$< in markdown gets replaced - using Docpad

I'm writing some documentation using Docpad and the highlight plugin. One part goes as code like this: some code here... <support user>$<user> more code here... but the rendered output ...
0
votes
1answer
45 views

How to embed markdown documentation inside a working code with C type syntax for commenting?

Basically I want to write one piece of text which qualifies both as a working code and MarkDown (preferably GitHub flavor) for documentation. The language I'm using has C form commenting \\ for rest-...
0
votes
0answers
13 views

Pandoc loses title and other metadata converting from docx to markdown

Convert the following markdown file to docx using pandoc ex.md -o ex.docx: --- title: 'My beautiful title' author: 'Joe Myself' date: '2019-03-12' ... Bla, bla, bla. Now convert the resulting ex....
0
votes
0answers
52 views

“Undefined control sequence. \file_get:nnN” error while compiling markdown file to pdf using pandoc and xelatex

I am trying to compile a Markdown file to PDF using pandoc and xelatex. The command I employed is like this: pandoc --pdf-engine=xelatex pantest.md -o pantest.pdf The error information comes as ...
1
vote
1answer
34 views

Math kableextra latex

I have been following the examples on how to include math in cells in KableExtra R markdown, and maybe I am doing something really silly, but I can't seem to get math symbols to work Following the ...
1
vote
2answers
50 views

Parsing subset of markdown with regex

To display comments on my blog, I want to parse just a subset of markdown. Namely, links, inline code, code blocks and paragraphs. I'm having a hard time with fenced code blocks because the regex ...
0
votes
0answers
14 views

Can I insert a number from file in markdown?

When writing a manuscript in Rmd, I could make the numbers inside the paper dynamic. Eg. `r number`. This is great, when reporting basic stats in a paper, that are subject to change as new material is ...
0
votes
2answers
19 views

Blogdown External URLs

I am familiar with Blogdown but am hitting a bit of a wall with an inline url. Below is the typical url invocation for Blogdown. [linked phrase]("http://example.com") But when I click the link I get:...
0
votes
0answers
14 views

Relative links to repos under same account in markdown files

I have been googling and looking around stackoverflow without finding a "clean answer" for this issue. Let´s say that I have the following account: https://github.com/myUserName and some repos: ...
0
votes
0answers
16 views

URL Date not showing up in bibliographie

I'm using Markdown to write my paper. I use Mendeley to creat my .bib file. Everything works fine, but the URL-Dates don't get included in the bibliography. Example of an entry in my bib.-file: @...
1
vote
0answers
210 views

about:blank#blocked on <a href=“file:///XXX”>Link</a> (Markdown Page)

In a Markdown Page (Microsoft TFS Wiki) I try crate A tag for file link: <a href="file:///C:/temp\file.txt">file.txt</a> On click (Chrome), I got about:blank#blocked
0
votes
0answers
23 views

How to write a value in Ohms with an Omega in a Jupyter MD cell

I would like to have appear an Ω like in 87 Ω in normal text flow in a jupyter notebook markdown cell. I can copy/paste and Omega as HTML code out of a browser but that would a bit too clumsy ...
1
vote
1answer
27 views

problems with metropolis theme standout using pandoc

I have been having problems with the metropolis theme where standout slides extend for the remaining slides (see github pandoc issue #3007). I have found what appears to be a workaround here where a ...
1
vote
0answers
14 views

What is the proper way of displaying portrait images in Jekyll + minima theme?

I'm using Jekyll's minima theme. I have a blog post with a series of images. All images are displayed in landscape mode (even the ones that should be portrait). If I open the portrait image in new ...
0
votes
0answers
30 views

Why can't I see caption when inserting image in markdown cell in jupyter notebook?

I am quite new to Jupyter Notebooks and I was trying to figure out how to insert an image with a caption into a markdown cell. After a little search I found this command that should work: ![alt text](...
0
votes
1answer
37 views

R - Markdown - Scroll Box with Fixed Header

Is there a way of fixing the header of a Kable table in Markdowns HTML output whilst maintaining column alignment? kable(cbind(mtcars, mtcars), "html") %>% kable_styling() %>% scroll_box(...
1
vote
0answers
48 views

Math equation sign $$ is not disappearing in r markdown output

I am trying to write a distribution using matrices. My knowledge is that to display mathematical symbols using LaTeX syntax, I need to use $$ signs. Thus I wrote, $$ \begin{align} \begin{pmatrix} ...
0
votes
0answers
18 views

Is there a way to create a link in Markdown to launch an app?

I'm using a tool that includes Markdown text formatting. I often want to include an App URI as a link to a document in a tool called Zeplin (design mockups). The app link for Zeplin is formatted like ...

http://mssss.yulina-kosm.ru