embed any javascript codes

1
2
3
4
5
6
{% npmrunkit id:custom %}
// GeoJSON!
var getJSON = require("async-get-json");

await getJSON("https://storage.googleapis.com/maps-devrel/google.json");
{% endnpmrunkit %}
// GeoJSON! var getJSON = require("async-get-json"); await getJSON("https://storage.googleapis.com/maps-devrel/google.json");

auto fix on duplicated id

1
2
3
4
5
6
7
8
9
{% npmrunkit id:custom %}
const boxen = require("boxen");
const options = {
borderStyle: "classic",
padding: 1
};
const title = boxen("Boxen gets your text noticed!", options);
title + "\nAny other text is simply text :)";
{% endnpmrunkit %}
const boxen = require("boxen"); const options = { borderStyle: "classic", padding: 1 }; const title = boxen("Boxen gets your text noticed!", options); title + "\nAny other text is simply text :)";
avatar
Dimas Lanjaka (L3n4r0x)
All in one collection shortcodes for hexo
Follow Me
Announcement
This is my Blog
Recent Post
Info
Article :
0
UV :
PV :
Last Push :