Skip to main content

Questions tagged [markdown]

A markup language that focuses on human readability, widely used on the Web.

0 votes
1 answer
803 views

curl webpage and convert to markdown

having a dilemma with downloading webpages and converting them to markdown, for example: F=$(curl -O --silent https://www.guru3d.com/story/msi-teases-spatium-m560-ssd-with-innovative-nonmetallic-vc-...
user avatar
0 votes
1 answer
710 views

Markdown viewer for file list

I'm looking for a command line Markdown viewer for many .md files somehow similar to image viewers. I need: simple/fast navigation: preferably left, right arrows (no combinations like :n, :p), and a ...
sZpak's user avatar
  • 511
1 vote
1 answer
190 views

Changing default editor for markdown bash_profile

I am pretty new to bash/zsh on Mac OX. I am trying to change my .bash_profile so that that all markdowns are opened with sublime when I enter open [filename].md in terminal. I have created synthetic ...
Sabina Brunswicker's user avatar
0 votes
2 answers
53 views

Simple filter to unhardwrap multiple paragraphs

I have many markdown files which are hardwrapped to 80 characters. I would like to copy these to paste into textareas (xclip -sel clipboard < file), but want them to wordwrap normally. This is ...
Iiridayn's user avatar
  • 369
0 votes
1 answer
54 views

Validating flower brace{} liquid tag in markdown validator

WE have a markdown validator that authors use to validate their md files, One check in that is the liquid tag validation where we check for invalid liquid tags in the md files. My requirement is to ...
Anonymous's user avatar
2 votes
3 answers
844 views

Modify URL in markdown link

I'm trying to modify a markdown file. In a file, there are many links like this one. [string one](/stringtwo/#stringthree) I'd like to change these to the following: [string one](stringtwo.html#...
shin's user avatar
  • 759
0 votes
1 answer
903 views

How to pretty output of grep for searching within markdown files?

I have a knowledge base (aka Zettelkasten) of markdown files. And I use searching with the next command grep -irn 'search request' *.md. All works fine. But I'd like see output with the title of the ...
kryn's user avatar
  • 3
23 votes
3 answers
23k views

convert markdown to pdf in commandline

what is the simplest tool to convert markdown to pdf in commandline? I have found howtos where people suggest to use pandoc, but the required packages need gigabytes of dependencies: apt-get install ...
Martin Vegter's user avatar
0 votes
2 answers
590 views

Extract all links (including multiple links per line) in markdown file

Sample markdown file: cat index.md # Abstract - To achieve [Work Life Balance](./WorkLifeBalance/WorkLifeBalance.md), first understand what it means and what are the requirements. - Develop right **[...
Porcupine's user avatar
  • 2,166
2 votes
1 answer
2k views

Markdown to PDF Converstion with Pandoc: Make pages a specific size, in inches

So I know you can use pagesize and geometry to set the page size of the PDFs Pandoc makes to presets (like a5, b5, etc), but is there a way to set a precise pair of dimensions? I'm going to be using ...
Alexis Purslane's user avatar
0 votes
1 answer
76 views

Replacig text inside multiple repeating patterns in same line

I have something like this; I like reading **books** and taking **notes** I was trying to get something like this; I like reading <b>books</b> and taking <b>notes</b> Tried ...
atheros's user avatar
  • 256
4 votes
1 answer
5k views

Markdown & Pandoc : How to include a specific PDF page as image?

It is currently possible to insert a PDF as an image in markdown files through pandoc by doing this: # Hello World ![My PDF file inserted](my-pdf.pdf) Then you convert that markdown file with pandoc: ...
Creasixtine's user avatar
2 votes
1 answer
1k views

How to associate markdown files with a web browser?

Out of GUI-based software like ReText or Formiko, and using just a command-line tool like pandoc, is it possible to open markdown files (MIME type association) as an HTML file in a web browser, ...
Anas R.'s user avatar
  • 161
1 vote
1 answer
213 views

Permissions problem when using ruby based snap 'mdl'

Because I don't understand Ruby, but want to use the ruby based program mdl (markdownlint), I have installed it using snap. While I can run the program, if I try and set up a customizations in a ~/....
mikemtnbikes's user avatar
3 votes
0 answers
470 views

How can I add custom CSS to the result of the markdown command?

New to markdown... I have a very simple markdown file, I am using the markdown command markdown something.md -o something.html Is it possible for me to inject my own css into the something.html file ...
hba's user avatar
  • 977

15 30 50 per page