This file contains hidden or 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 fs = require("fs") | |
const dayjs = require("dayjs") | |
const json = require("./wpdata.json") | |
console.log(`ファイル数:${json.length}`) | |
json.forEach((post, index) => { | |
const date = `${post.date}+09:00` | |
const modified = `${post.modified}+09:00` |
This file contains hidden or 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
{ | |
"type": "Document", | |
"raw": "a《《1》》b《2》c《《《3》》》d|《《4》》e《《5》》f", | |
"range": [ | |
0, | |
32 | |
], | |
"loc": { | |
"start": { | |
"line": 1, |
This file contains hidden or 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
// ==UserScript== | |
// @name カクヨム一字下げスクリプト | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-05-24 | |
// @description try to take over the world! | |
// @author You | |
// @match https://kakuyomu.jp/works/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=kakuyomu.jp | |
// @grant none | |
// ==/UserScript== |
OlderNewer