-
<MoreInfo>
spacing in unordered list followed by text...Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'haml' | |
require 'digest/sha1' | |
require 'rack-flash' | |
require 'mongoid' | |
require 'sinatra-authentication' | |
use Rack::Session::Cookie, :secret => 'skey' | |
use Rack::Flash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "commonjs", | |
"moduleResolution": "node", | |
"sourceMap": true, | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"removeComments": false, | |
"noImplicitAny": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Esri Leaflet Debug</title> | |
<!-- Load Leaflet from their CDN --> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> | |
<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("path"); | |
const util = require("util"); | |
const glob = util.promisify(require("glob")); | |
const workerFarm = require("worker-farm"); | |
const workers = workerFarm(require.resolve("./hydrate-worker")); | |
// this runs as the last step after Gatsby has built the site/ | |
module.exports.onPostBuild = async function onPostBuild({ reporter }, { ignore }) { | |
const activity = reporter.activityTimer("Prerendering Calcite Components"); | |
activity.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
babel github-es6.js -o github.js --optional runtime --experimental |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { read, write } = require("to-vfile"); | |
const remark = require("remark"); | |
const mdx = require("remark-mdx"); | |
const visit = require("unist-util-visit"); | |
const customPlugin = () => (tree, vfile) => { | |
vfile.data.plugin = "Set by custom plugin"; | |
visit(tree, "heading", node => { | |
if (node.depth === 1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async () => { | |
const inPath = "./example.mdx"; | |
const outPath = "./example-out.mdx"; | |
const file = await read(inPath); | |
const processor = remark().use(mdx); | |
const tree = processor.parse(file.contents.toString()); | |
const result = processor.stringify(tree); | |
console.log("result", result); | |
await write({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { read, write } = require("to-vfile"); | |
const remark = require("remark"); | |
const mdx = require("remark-mdx"); | |
const visit = require("unist-util-visit"); | |
const parse = require("@babel/parser").parse; | |
const generate = require("@babel/generator").default; | |
const traverse = require("@babel/traverse").default; | |
const t = require("@babel/types"); | |
const { readFileSync } = require("fs"); | |
const { dirname } = require("path"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version":8, | |
"sprite":"https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/../sprites/sprite", | |
"glyphs":"https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/resources/fonts/{fontstack}/{range}.pbf", | |
"sources":{ | |
"esri":{ | |
"type":"vector", | |
"url":"https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer" | |
} | |
}, |
NewerOlder