Skip to content

Instantly share code, notes, and snippets.

Template

(Use the following template to add a bailout reason.)

### This is a bailout reason

- Simple reproduction(s)
@vhf
vhf / footnote.md
Last active January 30, 2016 21:29

Bla bla 1 Then from within the footnote, link back to it.

1 Footnote content here.

Keybase proof

I hereby claim:

  • I am vhf on github.
  • I am vhf (https://keybase.io/vhf) on keybase.
  • I have a public key whose fingerprint is 6C95 1820 25A0 1436 298C 98B4 E451 BC76 90A3 9BBF

To claim this, I am signing this object:

@vhf
vhf / web-syndication-feeds-specs.md
Last active June 20, 2016 16:29
RSS and Atom specifications in a more readable format.
  • channel
    • title
      • GoUpstate.com News Headlines
    • link
    • description
      • The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.
    • [language]
[
feed: [
publisher: "[email protected]",
updated: "Tue, 10 Jun 2003 09:41:01 GMT",
published_parsed: "Tue, 10 Jun 2003 04:00:00",
subtitle: "Liftoff to Space Exploration.",
language: "en-us",
links: [
[
href: "http://liftoff.msfc.nasa.gov/", type: "text/html",
(function() {
var preTags = document.getElementsByTagName('pre');
var preWithHeaderInfo = preTags[0];
var preWithContent = preTags[2];
var lines = preWithContent.textContent.split('\n');
// get data about the formatting (changes between different versions of chrome)
var rgx = /^(0{8}:\s+)([0-9a-f]{2}\s+)[0-9a-f]{2}/m;
var match = rgx.exec(lines[0]);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

![](data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M224%20387.814V512L32 320l192-192v126.912C447.375 260.152 437.794 103.016 380.93 0 521.287 151.707 491.48 394.785 224 387.814z'/%3E%3C/svg%3E)

@vhf
vhf / example.js
Created July 13, 2017 16:39 — forked from Mayeu/example.js
Remark fix new lines for GitLab
const fixNewLine = require('./index.js')
const remark = require('remark')
text = "lol\nlol\n```\nlol\nlol\n```\n> lol\n> lol"
processed = remark()
.use(fixNewLine)
.processSync(text)
console.log(processed)