This feature is designed to help authors quickly find images in their workspace and reference them in their AsciiDoc document.
I hereby claim:
- I am ggrossetie on github.
- I am ggrossetie (https://keybase.io/ggrossetie) on keybase.
- I have a public key whose fingerprint is B9F7 CFC8 FFE1 4C0D 9A9B AEA9 76FE 1782 2EE4 C889
To claim this, I am signing this object:
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 Benchmark = require('benchmark') | |
const process = require('process') | |
Object.setPrototypeOf(Array.prototype, {}) | |
function arrayUnshift (list, elems) { | |
for (var i = elems.length - 1; i >= 0; i--) { | |
list.unshift(elems[i]); | |
} | |
} |
If a counter is reset or incremented within the page context, it is in scope for all page-margin boxes and obscures all counters of the same name within the document.
This sentence in the specification is unclear. What "obscures" means in this context? Does it mean that if a counter named "page" is reset or incremented within the document it has no effect on the page counter within the page context?
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
Acacia | |
Agana | |
Arum | |
Aster | |
Beam | |
Bibemus | |
Bora | |
Brume | |
Broma | |
Blossom |
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
.doc .admonitionblock .icon { | |
border-radius: 1rem; | |
} | |
i.fa[class^='icon-'], | |
i.fa[class*=' fa-']::before, | |
i.fa[class*=' icon-']::before { | |
content: ""; | |
height: 1.25rem; | |
width: 1.25rem; |
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
class Invoker { | |
async invoke() { | |
// we need to add "await" otherwise "convertFromStdin" will not be completed when we "do something" | |
Invoker.convertFromStdin() | |
} | |
static async convertFromStdin() { | |
console.log('>>> convertFromStdin') | |
const data = await Invoker.readFromStdin() | |
console.log('<<< convertFromStdin', data) |
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
str1 = 'white chocolate' | |
str2 = 'a1' | |
str3 = 'dog' | |
regex2 = /\d/ | |
regex3 = /\w+/ | |
benchmark 'gsub-string' do | |
r1 = str1.gsub('white', 'dark') | |
end |
Example 1. Example block
This is an example block.
NewerOlder