8,998
questions
0
votes
1
answer
21
views
Documenting MySQL queries in Markdown
I'm very new to the field. I'm working on a SQL project which have lots of queries and I want to share my results on github via markdown report. I'am facing a problem copying the results of my queries ...
0
votes
0
answers
18
views
Error import markdown files in Astro using Astro.glob()
I was trying to import some markdown files in Astro in order to make a "dynamic" blog. I used ´Astro.glob()´. I already had it functioning perfectly. However, since a recent update it ...
0
votes
0
answers
22
views
GitHub Pages rendering README: How to remove the h1 tag with repo name on top of the page?
I have a GitHub repository with README in it. I want to show the content of the readme on a custom domain. It works. However, the resulting version adds an h1 tag with a link to the custom domain.
<...
0
votes
1
answer
15
views
Lists inside <details> tag in markdown file
I'm using Github pages to publish notes for my classes. I link from the main page (index.md), to other pages containing a list of links for the annotated version of the notes. I'm trying to simplify ...
3
votes
2
answers
42
views
Pandoc - Markdown to PDF - Table columns overlap
I have a Markdown file with text, and tables that I would like to convert to PDF. But in one of the tables the columns overlap. How can I fix this issue?
This is a MWE with the overlapping table:
...
1
vote
1
answer
39
views
How to add custom Markup to the MarkupVisitor in Swift-Markdown?
I am using the swift-markdown library in my app.
I am trying to figure out how to add my own custom Markup to the MarkupVisitor?
I have been able to use a workaround using visitInlineAttributes which ...
-1
votes
0
answers
30
views
How to check markdown for typical errors in R? [closed]
I am processing survey responses in a teaching setting. The responses come in a data frame and one of the columns is a free text response structured as markdown. Output then is PDF report focusing on ...
0
votes
1
answer
72
views
Ruby Regex - Match exactly N backticks with exactly N backticks
I think I have found the solution to a GitHub issue, but it involves a bit of advanced RegEx in Ruby. (I rarely worked with Ruby and I wouldn't call myself a professional in RegEx). The problem is ...
0
votes
0
answers
31
views
Problem with storing markdown in database and rendering using React-Markdown
I am having problem with storing Markdown in database and rendering using React-Markdown.
For example I have to store Markdown without any line breaks inside my DB.
# **Marc Márquez: The Maverick of ...
0
votes
0
answers
29
views
Why is R telling me there are undefined columns when I try to Knit? [closed]
Attached is my code that I am trying to knit.
knitr::opts_chunk$set(echo = TRUE)
library(ggplot2)
library(dplyr)
library(readr)
glucose <- read.csv(file.choose(), sep = "", row.names = ...
-3
votes
0
answers
27
views
How to convert a webpage into a vector embedding? [closed]
My question is how can I convert any given webpage (i.e. URL) into a numerical contextual vector embedding; taking into account the text and the structure of the webpage (i.e. sub-box, click-box, ...
-1
votes
0
answers
17
views
What is the easiest markdown slide presentation software that lets you customize the themes of the slides? [closed]
I like writing slides in markdown, I really do. But I would like to be able to customize the themes of what is produced. I do use pandoc to powerpoint quite a bit but there are some things that really ...
0
votes
0
answers
35
views
How to Configure Doxygen to Use Markdown Headings as Root Headings in PDF Output Instead of Filename?
I am using Doxygen, version 1.10.0, to generate a PDF from a markdown file. The PDF is generated successfully, but I am facing an issue where the top-level headings in my markdown file (# Heading 1) ...
1
vote
1
answer
41
views
How to Automatically Apply Section Headings to Slides in Quarto Reveal.js Presentations?
I’m working on a Quarto presentation using Reveal.js, and I’m trying to automate the process of applying section headings to all slides within a section. Specifically, I want each slide under a ...
0
votes
1
answer
70
views
Markdown template with csv table [closed]
I am working on a project where I need to be able to create a markdown description, but I would also like to be able to include some table from a csv file. Not only just including the entire csv file ...
0
votes
0
answers
52
views
Extra invocation of pandoc-filter at the end of the Markdown document
The context
I have written the following pandoc-filter, which uses HTML details and summary elements (together with some CSS also given below) to produce collapsible sections when pandoc converts ...
1
vote
2
answers
106
views
Populating an SQLite database from Markdown files in Django
I'm starting to learn Django and Python to migrate my website, and I'm trying to wrap my head around getting an SQLite database set up and populated. All the tutorials I see show you how to do this ...
0
votes
0
answers
22
views
Can I start a numbered Markdown list with an arbitrary number within SharePoint?
SharePoint has the ability to insert Markdown, which is great!
I have created a numbered list, but I am adding images from my local computer (screenshots). I couldn't find a way to store local images ...
0
votes
0
answers
13
views
Markdown Not Displaying Command Prompt's Python Command
I have a note taking web app that receives your notes in markdown and present them nicely in html. The address is immorta.netlify.app. I have been taking notes without a problem in the platform for ...
0
votes
0
answers
33
views
Why isn't my math block rendering on GitHub?
I have the following math block in a README.md:
\begin{split}
\frac{\partial Q_0}{\partial \Lambda_0}
&=
\frac{I_{0}^{2} \Lambda_{0}^{4} + I_{0}^{2} \Lambda_{0}^{2} \Lambda_{1}^{2} - ...
1
vote
1
answer
38
views
MathJax not rendering after refresh page
In order to understand how MathJax works, I have developed a very basic and simple html file (called test.html) with some MathJax equations:
<html>
<!-- Module for rendering Markdown ...
0
votes
0
answers
14
views
How can I correctly import an MDX file in React using @mdx-js/react?
I'm trying to import an MDX file in my React project using the @mdx-js/react library, but I'm encountering issues with incorrect import paths.
When trying to import Content.mdx, the resulting path is ...
0
votes
1
answer
34
views
Custom styling in NSMutableAttributedString with markdown
I'm trying to use the markdown support in iOS with NSMutableAttributedString and UITextView. It works in general, but when I call text.setAttributes(attributes, range: fullRange) to apply some custom ...
0
votes
0
answers
20
views
how can i create a doc project in gitlab that host xml files and generate html files
need help to create a documentation project in gitlab that host xml files and runs the transformation to generate html files and publish to a given location.
currently we have our xml files in adobe ...
1
vote
1
answer
29
views
How do I shrink the font size of a markdown table for a powerpoint presentation?
I am preparing a powerpoint slide presentation
---
title: Test
author: Me
---
# Slide 1
- This can be regular font size
# Slide 2
% How do I shrink the fontsize of this table?
| Left align | ...
0
votes
2
answers
69
views
How to include sources in Doxygen/Markdown
When documenting with Doxygen, one can add additional documentation through .dox, text or Markdown files.
In a project, I am using Markdown files to add extra documentation and really like it. There ...
-1
votes
1
answer
28
views
Embed Published Google Sheet in GitHub md file
Trying to embed this spreadsheet into this md file on GitHub. As you can see, for whatever reason, only the link is showing up.
Can this be done so that the published sheet appears withing the md ...
-1
votes
0
answers
71
views
How to properly render Markdown responses from an LLM in a web interface?
I'm building a web interface for an LLM-powered app, and I'm having trouble rendering Markdown responses from the LLM in the browser. My current setup includes HTML and JavaScript for sending messages ...
1
vote
1
answer
50
views
R Markdown (officedown, officer): run_reference doesn´t work
I have an R markdown document with officer and officedown. In this I would like to use custom references.
---
output:
officedown::rdocx_document:
---
```{r setup, include=FALSE}
knitr::opts_chunk$...
0
votes
2
answers
26
views
How can I add an image in the header of Typora?
I am starting to use Typora and I want to put a logo image in the header. How can I do it?
I've tried to put the image text in the headers options like this ![image]() but it doesn't work. How can I ...
0
votes
0
answers
18
views
when using eclipse wikitext markdown, the preview is blank
When I invoke the wikitext markdown editor and switch to the preview tab the contents are blank. Eclipse version installed is 4.30.0. The wikitext plugin are installed.
1
vote
1
answer
51
views
How to replace characters in AttributedString to preserve new lines after markdown parsing?
I need to parse a markdown using the .full interpretedSyntax so that headings are also supported (.inlineOnly and .inlineOnlyPreservingWhitespace ignore the headings). Unfortunately, there is a side ...
0
votes
1
answer
44
views
How to (retroactively) apply markdown formatting?
I have an Apps Script function that fills in a presentation based on values entered in a Sheet. This script does not retain any sort of formatting, which is intended. I plan to use markdown notation ...
0
votes
1
answer
28
views
emacs markdown mode selecting org-mode header level?
in markdown mode, emacs allows SHIFT-TAB to cycle between content view (1 level), outline view (all levels), and document view (all text). I would like to have one of them go down only two levels or ...
-2
votes
0
answers
33
views
How do I change this code to have the time of the duration of the file be in the form of XhYmZs instead of %H:%M:%S? [closed]
This is supposed to create markdown files for different dates from recordings from a directory:
import os
import datetime
import subprocess
# Function to get file metadata
def get_file_metadata(...
0
votes
0
answers
32
views
LaTeX inside HTML tags in a Markdown file running in VSCode is not working
The title describes my problem. This is my markdown file:
<table>
<thead>
<tr>
<td></td>
<td colspan="3" align="center">...
0
votes
0
answers
13
views
"run all chunks above" button does not work in R markdown
Since some weeks I have to manually run every chunk in my R script and the "run all chunks above" button does often not work or leaves specific chunks out. I have the newest version of R ...
0
votes
1
answer
42
views
Inserting AdSense in Markdown Content
I'm using Astro to make a blog page and I have several posts. I use MDX for the content management. I'd like to insert AdSense units randomly between paragraphs throughout the content. How to to this?
...
0
votes
0
answers
49
views
The JavaScript Markdown syntax converter code transforms the sublist into a list in Markdown at VSCode's Markdown preview
I write in pure Markdown at VSCode and always use the VSCode Markdown Preview. I created a new Markdown syntax code called infoboxcard that is not supported officially by markdown-it and by CommonMark....
0
votes
3
answers
62
views
Unable to convert text into dataframe in python
I am trying to convert a text into a dataframe using Python.
sample_text: 'This is \nsample text\n\nName|age\n--|--\n1.abc|45\n2.xyz|34'
Final Desired output:
Steps I am following to achieve the ...
-3
votes
0
answers
24
views
Is micromark a parser or a processor? [closed]
First, it says everywhere that it's a parser. But it is used to produce HTML. Then shouldn't it be called as a processor?
From unifiedjs/unified:
Syntax trees are a representation of content ...
0
votes
0
answers
37
views
Why Does marker-pdf Split Images into Two, and How Can I Fix It?
I’m working on a project where I want to convert pdf files to markdown, and I’m using the marker-pdf library for this. However, I’m encountering an issue where the extracted images are being split ...
0
votes
0
answers
13
views
Git pages image display error even though path checked
I'm making Jekyll based GitHub pages now.
What was the problems that image is not displayed?
And there's trial and error I've been through.
I used imagemagick Jekyll plugin that it helps to change ...
0
votes
1
answer
54
views
How can I generate a mu symbol when using markdown to add text to a Shiny app?
I am building a Shiny app with R, and there is a fair amount of text, so I am using markdown to store that text and render it in Shiny with the function includeMarkdown
I've found information on how ...
-1
votes
0
answers
27
views
Why can unist-util-filter filter only with inequality but not equality?
import {fromMarkdown} from 'mdast-util-from-markdown'
import {filter} from 'unist-util-filter'
import {Node} from '@types/unist'
import { inspect } from "unist-util-inspect";
const doc = `
#...
0
votes
0
answers
39
views
How to only select regular list item and not task list item?
To select only listItem, I use:
import {fromMarkdown} from 'mdast-util-from-markdown'
import {inspect} from 'unist-util-inspect'
import {selectAll} from 'unist-util-select'
import {gfm} from '...
0
votes
0
answers
53
views
Theme error: no theme named 'furo' found (missing theme.conf?)
I would like to preface that I am a complete beginner to Sphinx documentation.
That being said, I have had immense difficulties trying to troubleshoot this issue.
I am trying to use the "furo&...
0
votes
3
answers
73
views
How to delimit text stored in variable to create a dataframe in python?
I have parsed a pdf file using ai models and got parsed markdown results which is saved in a variable doc_parsed. Printing below its sample contents by code print(doc_parsed[2].text[:1000])
# Details
...
1
vote
1
answer
51
views
How to insert the "Copy to clipboard" icon in an r markdown document
I want to insert the Copy to clipboard icon in my chunks and instead of a complicated description just see the image, which is a screenshot of chapter 3.1 of the R Markdown Cookbook.
My code (with the ...
0
votes
2
answers
465
views
Converting Markdown with Mermaid diagrams to PDF: Graphs missing in PDF output
I'm trying to convert a Markdown document that includes Mermaid diagrams to PDF, but I'm having trouble getting the diagrams to appear in the final PDF output. The Markdown to HTML conversion works ...