1
0
mirror of https://github.com/go-task/task.git synced 2025-12-03 23:00:00 +02:00

Website: Improve syntax highlighting

This commit is contained in:
Andrey Nering
2022-09-17 13:51:54 -03:00
parent 111f6e7f18
commit a95191d29e
3 changed files with 181 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const lightCodeTheme = require('./src/themes/prismLight');
const darkCodeTheme = require('./src/themes/prismDark');
const GITHUB_URL = 'https://github.com/go-task/task';
const TWITTER_URL = 'https://twitter.com/taskfiledev';