Skip to main content

Questions tagged [markdown]

Markdown is a markup language which can allow for plain-text documents to be transformed into HTML and other formats.

6 votes
0 answers
179 views

Markdown parser library in C

For a side project, I needed a markdown parser and I decided to roll my own. It is a SAX-style parser, i.o.w. you can hook into parser events on consumer side and do whatever you want with the content....
Quanta's user avatar
  • 161
5 votes
1 answer
259 views

Parsing Markdown with bare hyperlinks: Hoping to find a way to workaround the "noscript" workaround

The following example shows how to use markdown-it to parse and render Markdown. It works, but there is a dirty trick there, which I absolutely don't like: to ...
jsx97's user avatar
  • 207
1 vote
0 answers
44 views

caching and rendering blog posts in markdown in react

I'd like to know if I'm doing this badly or involving any antipatterns. Masterlist.json contains a list full of all of the posts that exist and should be fetched on the page. Post metadata is ...
shr4pnel's user avatar
5 votes
1 answer
165 views

Script to loop through a list of YouTube channels, and output metadata to a Markdown file

Overview I have created a bash script (triggered via GitHub Actions) that does the following: Parse a list of YouTube channel IDs and nicknames. Fetch their metadata via YouTube's Channel API. Build ...
Jake Lee's user avatar
  • 153
5 votes
1 answer
124 views

Markdown code formatter

With my rustymines 1 2 project, I realized, that it was cumbersome, to copy and paste all the code files into Markdown for review here. So I wrote a small program that formats source code files as ...
Richard Neumann's user avatar
4 votes
0 answers
88 views

Simple Markdown Blog

this is my first real website I created after learning about web development. It's amazing to me that anyone would spare their free time to code review strangers' code. So thank you in advance. I'd ...
Paulemeister's user avatar
2 votes
1 answer
49 views

Formatter for converting links in a legacy markup to markdown

This program converts legacy markup in the form seen in the tests to the resulting markdown seen in the test's respective comment. The full program is as uploaded as a snippet, or you may see below <...
Martin Kleiven's user avatar
8 votes
2 answers
343 views

Fetch StackOverflow questions and save them to a markdown table

I'm trying to write a script that would (a) fetch StackOverflow questions and (b) update a markdown table with new entries. With github actions I automated this script to run daily. Idea borrowed from ...
Hryhorii Pavlenko's user avatar
3 votes
0 answers
158 views

Vim plugin MarkDown Headings

This is my first Vim plugin and is intended to assist with adding, and editing, MarkDown headings. Features include changing the heading depth, auto-update heading reference links, and adding link ...
S0AndS0's user avatar
  • 978
2 votes
0 answers
1k views

Generating markdown documentation for VBA code

Generating documentation for VBA code The goal of this exercise to is create an application which can read module files created in VBA project and generate markdown documentation for them. Key ...
FlameHorizon's user avatar
4 votes
1 answer
100 views

Tab 2 spaces convertor (for markdown)

This program converts glob files' tabs to spaces. There is a special case to ignore content inside triple back ticks. Example usage is ./tab_2_spaces.py *.md Main ...
JaDogg's user avatar
  • 4,561
2 votes
0 answers
183 views

KaTeX extension to Markdown

I've created a JS snippet to enhance markdown at display-time with KaTeX math rendering. (Specifically, this is mostly for documentation of math-heavy libraries where the host language documentation ...
CAD97's user avatar
  • 1,944
1 vote
0 answers
669 views

Putting a multichoicefield under a dropdown button

I am building a web app in Django where one of the form fields is a multiplechoicefield from a many2many object that I use to select users that are allowed to edit the post. In standard form the field ...
Bruno Vermeulen's user avatar
2 votes
1 answer
164 views

Adding prefixes to headers in markdown

I'm adding prefixes to headers in markdown using a script. For example, if I have: # Hello ## World ### Let's add ## Some headers ### Yay! # Foo ## Bar I ...
Giel Berkers's user avatar
3 votes
1 answer
123 views

Easy to use code preparation script for CodeReview questions

We all face questions that forget to include their code. Sometimes all of it, sometimes only parts, that make the rest of the question unfortunately incomplete and therefore off-topic. What if it was ...
Zeta's user avatar
  • 19.7k

15 30 50 per page