Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [markdown]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
73 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 ...
2
votes
0answers
22 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 ...
1
vote
0answers
36 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 ...
2
votes
1answer
51 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 ...
3
votes
1answer
57 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 ...
10
votes
1answer
1k views

Markdown Display in WPF

I wanted to display a markdown document in WPF sensibly without relying on an HTML rendering system. I wrote a control based on the RichTextBox, and used Microsoft'...
4
votes
1answer
60 views

Converting Markdown to HTML using Go

I recently ported a blog of mine from Python to Go (to improve speed and performance) and while all is great so far, I'd like some help optimising the Markdown ...
2
votes
0answers
48 views

Markdown Previewer app done in ReactJS

What do you think of my markdown previewer, which uses the marked library? I'm asking because I'm new to React. And also what do you think of app itself? Did I use React correctly and properly? HTML: ...
3
votes
0answers
110 views

Script to auto-generate Markdown tables of contents

I would greatly appreciate feedback on the enclosed script, which auto-generates a Markdown table of contents for Github-flavoured Markdown, with respect to: Consistency with Ruby idiom & style ...
2
votes
0answers
35 views

Vim plugin for folding markdown lists

My first delve into vimscript was writing a plugin for folding markdown lists. I reckon there are a few idioms I'm missing here, so I would greatly appreciate any comments to improve the plugin. I'...
6
votes
1answer
164 views

Command line todo list manager

This is a tiny project of mine, a minimal command line todo list program that I regularly use to manage my todos. It saves todos using GitHub markdown task lists format in a plain text file. The ...
7
votes
3answers
587 views

Print code-fenced sections of a Markdown document

Original code and demo at this gist. Given a Markdown document like ...
3
votes
0answers
90 views

Markdown to HTML Converter

I'm working on a markdown-to-html parser for my C++ proposals. Example usage is turning markdown like this into an html page like this. The part that caused me the most frustration was having (a) ...
1
vote
1answer
83 views

Monthly attendance report for some company employees

I wrote this code for a company to visualize the attendance of its employees in July 2017. I have a folder "attendance" that containing 13 Excels file, a file for every employee. I'm pretty new to R, ...
6
votes
1answer
181 views

Makefile for building classwork from markdown files and LaTeX

The following makefile builds my classwork for my various college classes and builds pdfs to hold the notes I took during class. I would like feedback on my directory structure and any optimizations ...
31
votes
3answers
2k views

Regex to parse horizontal rules in Markdown

I'm the current maintainer of Showdownjs, a markdown parser off which PageDown (stackexchange's markdown parser) is based on. Showdown uses the following regex to parse horizontal rules: ...
3
votes
2answers
407 views

Source formatting of Markdown Table

I use MultiMarkdown tables more than I thought I ever would. In my .md files, I would like the source table code to be neat, evenly spaced, and resemble (in an ...
4
votes
1answer
235 views

Markdown parser, template engine, and then some

I've got my own website! Woo! It's got HTML and everything! But after struggling for a while with HTML and keeping my navbar consistent across pages, I gave up and wrote a program which: Searches for ...
6
votes
3answers
310 views

Bash script to extract HTML comment into a Markdown file

I learned Bash a million years ago. I just wrote this simple script used to get the first lot of HTML comments from a file, and spit it out in order to create a ...
2
votes
1answer
330 views

Truncating article text

I need to show article's content based on this logic: if article's content has to be truncated (e.g for preview) if there's [read more] substring in the content ...
11
votes
2answers
199 views

Markdown Markup Editor: MK2

Following on from this question I have added some more functionality to Markdown Markup, and made it more WPF idiomatic. It now supports saving data from any of the four boxes, and loading Markdown ...
6
votes
1answer
768 views

Markdown Markup Markleft Markright Editor

I have a blog that I occasionally post to, but it's a PITA because of the fact that it has it's own WYSIWYG editor and doesn't support Markdown. So I have to switch the WYSIWYG editor to the HTML ...
7
votes
2answers
242 views

Convert an object to an ordered by SemVer Markdown list

For a small personal project, I am looking to convert an object to an ordered by SemVer Markdown list. You can find the original code for the sort logic here and here for the writing into Markdown ...
0
votes
1answer
540 views

Yet Another Regex-Based MarkDown to HTML converter

I wrote a simple script to translate (a subset of) StackExchange markdown to HTML. I used Regex for this task, but luckily I only had to use simple patterns. ...
1
vote
0answers
222 views

Parse a plain text newsletter and show it with nicer markdown formatting

I wrote some code to parse an e-mailed events newsletter I'm on and redisplay it with better formatting. I like the output, but I'm not thrilled with the code. It feels like there's a lot of ...
4
votes
3answers
770 views

Converting Pandoc Markdown images from captioned to inline

After writing a rather long document in Markdown and using pandoc to convert it to a PDF, I found, to my dismay, that many of the images were out of place, and that they all had their alternate text ...
9
votes
3answers
369 views

HTML to Markdown converter

I've made a simple HTML→Markdown converter in Javascript and am looking for any feedback. For now, I've basically used Stack Exchange's /editing-help as a guide as ...
1
vote
1answer
30 views

Transforming markdown files in folders into a documentation

I start coding a simple application: I transform markdown files in folders into documentation. My architecture is very flat. My code looks like a series of unit function called one after the other. <...
7
votes
0answers
274 views

In emacs markdown-mode making the link live and URL invisible in inline links

A few years ago I modified version 1.8.1 of Jason Blevins's markdown-mode for Emacs so that when showing inline links the URL is hidden, and so that you can follow the link simply by hitting Enter. If ...
7
votes
1answer
151 views

A character-by-character inline markdown parser

...
2
votes
0answers
76 views

Rolling my own markdown parser in JavaScript

For several days I was messing around trying to create a markdown parser. This is the best I could come up without using regex. I was wondering if I'm on the right track.(I only covered the ...
2
votes
2answers
767 views

Converting file from Markdown-like markup into HTML using repeated substitutions

The following code reads a file, splits its data, replaces some characters in the data, and then joins the data again (I added more details in the comments): ...
5
votes
2answers
86 views

Command line utility to output modified Markdown

What this command line utility does is to take a text file and update the content a bit before turning it into Markdown. For example, the first for loop searches all the straight quotes and replace ...
6
votes
1answer
64 views

Print the list of winter bash 2014 hats as a list of checkboxes in GFM format

In Winter Bash 2014, since there is no easy way to see the hats I'm missing per site, I decided to use Gists for that. A perhaps not so well-known feature of GitHub Flavered Markdown (GFM) format ...
12
votes
2answers
503 views

Application for converting markdown to PDF

First time writing C in a long time and would like some code review to try and improve my code. I have some specific questions, but first an introduction to the code. The application is a simple ...
8
votes
1answer
270 views

Markdown to HTML, again

I made another markdown parser. (original, this one on github). Look, I'm not crazy (sorta), I just like making markdown parsers… ...
15
votes
2answers
2k views

Markdown to HTML

...
5
votes
1answer
264 views

Preprocessing Markdown Documents for Keywords

I recently added a feature to my application to serve arbitrary markdown documents from a directory. This is designed to allow authors to populate a folder full of help documents, and be able to view ...
10
votes
1answer
941 views

Idiomatic clojure code in a markdown parser

Some time ago I created a markdown parser in clojure and I would like to get some feedback, since I'm a clojure noob in the first place (is the code understandable?/is it idiomatic?/can some things be ...
1
vote
1answer
268 views

Importing markdown files

I'm building a rails app that, among other things, imports text markdown files as blog posts. The idea is that the truth is in the markdown files, so any time those are edited, created, or deleted, ...
2
votes
1answer
295 views

Creating MarkDown documents in ruby

I'm trying to dynamically generate some MarkDown formatted documents, with header fields of arbitrary lengths. ...
11
votes
4answers
749 views

Markdown static blogger program

I was hoping I might get some of the brains in Stack Overflow to take a look at my Python static blogger application. I've been using it a few years in a pretty hacked up form. Lately I decided to ...