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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user