Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
leafac committed Oct 13, 2022
1 parent e20ab3f commit 5546989
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
patreon: leafac
custom:
[
"https://paypal.me/LeandroFacchinettiEU",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M",
]
github: leafac
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install-ci-test
- run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Leandro Facchinetti
Copyright (c) 2022 Leandro Facchinetti <[email protected]> (https://leafac.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<!--
- [ ] Merge proposal
- [ ] https://github.com/shikijs/shiki/issues/115
- [ ] https://github.com/rsclarke/rehype-shiki/issues/49
- [ ] The original rehype-shiki could cache the highlighter
- [ ] https://spectrum.chat/unified/remark/how-to-initialize-async-function-before-running-the-transformer~e986e9fe-6b33-45d6-8d79-365cf7093aa5
- [ ] Lowercase the language? For example, should ```JAVASCRIPT work? What do other syntax highlighters do?
- [ ] Add to awesome-rehype
- [ ] Improve treatment of mathescape: only process if there’s an odd number of segments after splitting on $ (which means there’s an even number of $s, which means they’re balanced)
- [ ] A playground to try Shiki online
-->
<h1 align="center">Shiki LaTeX</h1>
<h3 align="center">A <a href="https://shiki.matsu.io">Shiki</a> renderer for <a href="https://www.latex-project.org">LaTeX</a>. Compatible with <a href="https://github.com/gpoore/minted">minted</a>, replacing <a href="https://pygments.org">Pygments</a>.</h3>
<p align="center">
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
"bugs": {
"url": "https://github.com/leafac/shiki-latex/issues"
},
"homepage": "https://github.com/leafac/shiki-latex#readme"
"homepage": "https://github.com/leafac/shiki-latex",
"funding": [
"https://patreon.com/leafac",
"https://paypal.me/LeandroFacchinettiEU",
"https://github.com/sponsors/leafac",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M"
]
}
22 changes: 14 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"module": "commonjs",
"esModuleInterop": true,
"target": "ES2019",
"strict": true,
"sourceMap": true,
"rootDir": "./source/",
"outDir": "./distribution/",

"module": "ESNext",
"moduleResolution": "NodeNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"target": "ESNext",

"declaration": true,
"declarationMap": true
"declarationMap": true,
"sourceMap": true,

"strict": true
}
}

0 comments on commit 5546989

Please sign in to comment.