Generate table of contents for a markdown document.
Make markdown contents lively.
Markdown contents generator
Create Jekyll Front Matter from single markdown contents.
Fetches the contents of a file accross node and browsers.
Generates and consumes source maps
Fast, unopinionated, minimalist web framework
Simple key-value storage with support for multiple backends
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
A simple key/value storage using files to persist the data
An AST-based pattern checker for JavaScript.
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
micromark utility with symbols
micromark factory to parse destinations (found in resources, definitions)
unist utility to check if a node passes a test
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
mdast utility to serialize markdown
[](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
A blazing fast deep object copier
Tiny utilities for inserting transformation logic into Node.js stream and Web Streams pipelines
micromark utility to sanitize urls
micromark factory to parse markdown titles (found in resources, definitions)
Generate a Markdown table of contents via headlines, links, and anchors
This gem is used by GitLab to render any non Markdown markup
Takes some content and parses it depending of the format your specify (HTML or Markdown)
A command line interface for generating Markdown table of contents.
Allow Markdown and Textile to be used for BrowserCMS content.
The Prolog::Services::MarkdownToHtml class converts valid Markdown to valid HTML (as well-formed XML; i.e., void element tags such as <br/> are always properly closed). The resulting HTML is rendered as a single line of text with all unnecessary whitespace removed.
# mdtoc - Markdown Table of Contents Read Markdown files and output a table of contents. ## Installation Requirements: * [Ruby](https://www.ruby-lang.org/en/) (see [.ruby-version](./.ruby-version)) ```bash gem install mdtoc ``` ## Usage ```bash mdtoc --help Usage: mdtoc [options] files or directories... -h, --help Show this message -o, --output PATH Update a table of contents in the file at PATH -a, --[no-]append Append to the --output file if a <!-- mdtoc --> tag isn't found -c, --[no-]create Create the --output file if it does not exist ``` 1. Add a `<!-- mdtoc -->` tag to a Markdown file. ```bash echo '<!-- mdtoc -->' >> README.md ``` 2. Run `mdtoc` and specify input files or directories (eg. the "test/samples" directory) and an output file (eg. "README.md"). ```bash mdtoc -aco README.md test/samples ``` ## Example Rakefile Create a `Rakefile` with the contents below, then run [`rake`](https://github.com/ruby/rake) to: * `git pull` * `git add` any `*.md` files * Run `mdtoc` to update the generated table of contents in the ./README.md file * Git commit and push any changes ```ruby task default: %w[mdtoc] desc 'Update Markdown table of contents and push changes to the git repository' task :mdtoc do command = <<~CMD set -e if [ -n "$(git diff --name-only --diff-filter=U)" ]; then echo 'Error: conflicts exist' >&2 exit 1 fi mdtoc --append --create --output README.md docs/ git add *.md **/*.md git commit -qm 'Update TOC' || true git pull git push CMD sh command, verbose: false do |ok, status| unless ok fail "Failed with status: #{status.exitstatus}" end end end ``` See [andornaut/til](https://github.com/andornaut/til/blob/master/Rakefile) for an example. ## Development ### Setup Requirements: * [Bundler](https://bundler.io/) * [chruby](https://github.com/postmodern/chruby) (recommended) ```bash # Setup development environment bin/setup ``` ### Tasks ```bash # List rake tasks rake -T rake build # Build gem into the pkg directory rake default # Run the build, rubocop, sorbet and test tasks rake install # Build and install gem into system gems rake rubocop # Run RuboCop rake sorbet # Run the Sorbet type checker rake test # Run tests # Run mdtoc with test inputs ruby -Ilib bin/mdtoc test/samples # Run mdtoc with test inputs, and write to a newly created output file f=$(mktemp) && ruby -Ilib bin/mdtoc -aco ${f} test/samples ; cat ${f} ``` ### Publishing 1. Bump version in `lib/mdtoc/version.rb` 2. Run `bundle install` to update `Gemfile.lock` 3. Commit the changes 4. Run `rake release` to publish the gem to RubyGems, create the git tag, and push
Gem for building static content websites from markdown.
MarkdownRecord is a Rails engine that lets you write content and populate models in markdown directly within your application's repo, then generate html and json files for direct rendering in your app.
Based on Pete's Keen approach https://github.com/peterkeen/mmp-builder from his Adventures in Self Publishing https://www.petekeen.net/adventures-in-self-publishing
A module for loading Markdown or other content collections in Phlexite.
This ActiveRecord plugin saves formatted content (Markdown, Textile, HTML) after normalizing it.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.