Originally from http://stackoverflow.com/questions/6725890/location-host-vs-location-hostname-and-cross-browser-compatibility/11379802#11379802
- deal with anchors to be able to copy links
- make parts contenteditable
Originally from http://stackoverflow.com/questions/6725890/location-host-vs-location-hostname-and-cross-browser-compatibility/11379802#11379802
| <nav class="toc"> | |
| <ul> | |
| <li><a href="#intro">Intro</a></li> | |
| <li> | |
| <a href="#dev">Developer Mode</a> | |
| <ul> | |
| <li><a href="#dev-edit-html">Edit HTML</a></li> | |
| <li><a href="#dev-element-classes">Element Classes</a></li> | |
| <li><a href="#dev-slide-classes">Slide Classes</a></li> | |
| <li><a href="#dev-export-html">Export HTML</a></li> |
| <nav class="toc"> | |
| <ul> | |
| <li><a href="#intro">Intro</a></li> | |
| <li> | |
| <a href="#dev">Developer Mode</a> | |
| <ul> | |
| <li><a href="#dev-edit-html">Edit HTML</a></li> | |
| <li><a href="#dev-element-classes">Element Classes</a></li> | |
| <li><a href="#dev-slide-classes">Slide Classes</a></li> | |
| <li><a href="#dev-export-html">Export HTML</a></li> |
| @_ï |
| node_modules/ |
Download the user.js file and then drop it into your chrome://extensions/ tab and enjoy the
button on your gists!
| import "@johnlindquist/kit"; | |
| import { generateMultiple, GenerateOptions } from "generate-password"; | |
| import rc from "rc"; | |
| const defaultConfig = {}; | |
| const config: GenerateOptions = rc("generate-password", defaultConfig); | |
| const flags = { | |
| copy: { |
| import "@johnlindquist/kit"; | |
| import { generateMultiple, GenerateOptions } from "generate-password"; | |
| import rc from "rc"; | |
| const defaultConfig = {}; | |
| const config: GenerateOptions = rc("generate-password", defaultConfig); | |
| const flags = { | |
| copy: { |
| // Name: Lorem ipsum | |
| import "@johnlindquist/kit"; | |
| import { loremIpsum, ILoremIpsumParams } from "lorem-ipsum"; | |
| let ret: ReturnType<typeof loremIpsum>; | |
| const DEFAULTS = { | |
| count: 1, |