Glow is a terminal based markdown reader designed from the ground up to bring out the beauty — and power — of the CLI. Installation per Homebrew brew install glow Once installed, you can open files in several ways: # Read from file glow README.md # Read from stdin glow – # Fetch README from …
Tag Archives: markdown
Render styleable Markdown in your HTML with <md-block>
To render Markdown on web pages, Lea Verou created <md-block>. It’s a zero-dependency Custom Element that, unlike other solutions, renders the content in the light DOM which allows you to style the output easily. There are many web components these days to render Markdown to HTML. However, all render the resulting Markdown in Shadow DOM, …
Continue reading “Render styleable Markdown in your HTML with <md-block>
“
ibis — A PHP tool that helps you write eBooks in markdown and convert to PDF
Mohamed Said recently wrote the book “Laravel Queues in Action”. To create the book he wrote it Markdown and then used his self-created tool ibis to generated the PDF and ePub versions. Installation per Composer: composer global require themsaid/ibis After which you start a new project with ibis init Check out the preview of “Laravel …
Continue reading “ibis — A PHP tool that helps you write eBooks in markdown and convert to PDF”
mermaid – Generation of diagram and flowchart from text in a similar manner as markdown
Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs. The code for the sequence diagram at the top is this: sequenceDiagram Alice ->> Bob: Hello Bob, how are you? Bob–>>John: How about you John? Bob–x Alice: I am good thanks! Bob-x John: I am good thanks! Note right of John: …
Convert a Google Doc to Markdown or HTML with “Docs to Markdown”
Now this comes in handy: Docs to Markdown (GD2md-html) converts Google Docs to simple, readable Markdown or HTML. This add-on allows you to create documents using the excellent editing and collaborative features of Google Docs, but publish as Markdown or HTML that you can store as text files using a version-control system. Docs to Markdown …
Continue reading “Convert a Google Doc to Markdown or HTML with “Docs to Markdown””
Typora – a minimal markdown reading & writing app
Typora will give you a seamless experience as both a reader and a writer. It removes the preview window, mode switcher, syntax symbols of markdown source code, and all other unnecessary distractions. Replace them with a real live preview feature to help you concentrate the content itself. Looks great! Not sure if it’s still actively …
Continue reading “Typora – a minimal markdown reading & writing app”
Rendering Markdown using Custom Elements v1
Inspired upon a v0 implementation, I’ve recreated a Markdown renderer in Custom Elements v1. The result is <custom-markdown>. The code itself is pretty straightforward: other than some (contained) styling the custom element uses showdown to convert the Markdown to HTML. This conversion is triggered in the connectedCallback(). class Markdown extends HTMLElement { constructor() { super(); …
Continue reading “Rendering Markdown using Custom Elements v1”
Marp – Markdown Presentation Writer
PHP Markdown
use \Michelf\Markdown; $my_html = Markdown::defaultTransform($my_text); This is a library package that includes the PHP Markdown parser and its sibling PHP Markdown Extra with additional features. Originally it was a port to PHP of the Markdown tool written by John Gruber. Here’s how to get it via Composer: composer require michelf/php-markdown PHP Markdown →