Skip to content

Commit 6d1fd72

Browse files
committed
initial release
1 parent 14d15a3 commit 6d1fd72

64 files changed

Lines changed: 271343 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.data filter=lfs diff=lfs merge=lfs -text
2+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
3+
*.wasm filter=lfs diff=lfs merge=lfs -text

.github/workflows/deploy.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: 'main'
6+
7+
jobs:
8+
build_site:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Install Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: npm
19+
20+
- name: Install dependencies
21+
run: npm i
22+
23+
- name: build
24+
env:
25+
BASE_PATH: '/${{ github.event.repository.name }}'
26+
run: |
27+
npm run build
28+
29+
- name: Upload Artifacts
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: 'build/'
33+
34+
deploy:
35+
needs: build_site
36+
runs-on: ubuntu-latest
37+
38+
permissions:
39+
pages: write
40+
id-token: write
41+
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
46+
steps:
47+
- name: Deploy
48+
id: deployment
49+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
.netlify
7+
.wrangler
8+
/.svelte-kit
9+
/build
10+
/dist
11+
12+
# OS
13+
.DS_Store
14+
Thumbs.db
15+
16+
# Env
17+
.env
18+
.env.*
19+
!.env.example
20+
!.env.test
21+
22+
# Vite
23+
vite.config.js.timestamp-*
24+
vite.config.ts.timestamp-*

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A simple Markdown with LaTeX editor in the browser.
44

55
## How it Works
66

7-
The text in the editor is converted from Markdown to LaTeX using the Web Assembly port of Pandoc. Optional Pandoc Markdown extensions may be applied in the document configuration and both article and Beamer document classes are supported in the conversion from Markdown to LaTeX. Since the Pandoc port cannot generate PDF files directly, the output is then passed to Siglum's Web Assembly port of TeXLive and a PDF is generated using pdfTeX. A preamble for the LaTeX document may be included in the document configuration.
7+
The text in the editor is converted from Markdown to LaTeX using the Web Assembly port of Pandoc. Optional Pandoc Markdown extensions may be applied in the document configuration and both article and Beamer document classes are supported in the conversion from Markdown to LaTeX. Since the Pandoc port cannot generate PDF files directly, the output is then passed to TeXlyre's version of busytex, a Web Assembly port of TeXLive, and a PDF is generated using pdfTeX. A preamble for the LaTeX document may be included in the document configuration.
88

99
## About
1010

@@ -15,7 +15,7 @@ The following packages are also utilized:
1515
- Theme: [Carbon Components](https://svelte.carbondesignsystem.com/) & [Icons](https://carbon-icons-svelte.onrender.com/)
1616
- Editor: [Codemirror](https://github.com/touchifyapp/svelte-codemirror-editor)
1717
- Markdown Conversion: [Pandoc](https://github.com/pandoc/pandoc-wasm)
18-
- LaTeX Compiler: [Siglum](https://github.com/SiglumProject/siglum)
19-
- PDF Viewer: [Svelte PDF View](https://github.com/nullpointerexceptionkek/svelte-pdf-view)
18+
- LaTeX Compiler: [TeXlyre Busytex](https://github.com/TeXlyre/texlyre-busytex)
19+
- PDF Viewer: [EmbedPDF](https://www.embedpdf.com/)
2020

21-
Settings and configuration are saved in `localStorage` for ease of use over time.
21+
Settings and configuration are saved in `localStorage` for ease of use over time.

0 commit comments

Comments
 (0)