1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Fix Markdown Footnotes and Other Improvements (#173)

* fix some typos in Simplified Chinese translations

* add markdown-it-footnote

* use markdown-it-footnote | fix lint | fix Actions
This commit is contained in:
着火的冰块nya
2025-10-08 22:27:42 +08:00
committed by GitHub
parent 8052bec31a
commit 54c7b125d9
9 changed files with 666 additions and 2704 deletions

View File

@@ -1,4 +1,4 @@
const { chunk, uniq, uniqBy, difference } = require('lodash');
const { uniq, uniqBy, difference } = require('lodash');
const fs = require('fs-extra');
const { resolve } = require('./resolve');
const log = require('fancy-log');
@@ -32,6 +32,7 @@ function applyI18N (original_tweet, twitter_i18n) {
}
module.exports = exports = async function tweets (pages) {
// eslint-disable-next-line no-unused-vars
const [ twitter, twitterBackup, twitterCache ] = await Promise.all([
fs.readJson(resolve('twitter-config.json')).catch(() => null)
.then(getTwitterClient),