Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_modules/
.pnp.*

# Testing
private/
*private*/

# rust
target/
Expand Down
2 changes: 1 addition & 1 deletion scripts/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

async function exportInit() {
const SELECTOR = 'main div.group';
const USER_INPUT_SELECTOR = 'div.empty\\:hidden';
const USER_INPUT_SELECTOR = 'div.relative.flex.w-\\[calc\\(100\\%-50px\\)\\].flex-col.gizmo\\:w-full.lg\\:w-\\[calc\\(100\\%-115px\\)\\].gizmo\\:text-gizmo-gray-600.gizmo\\:dark\\:text-gray-300';
const Format = {
PNG: 'png',
PDF: 'pdf',
Expand Down
1 change: 1 addition & 0 deletions scripts/markdown.export.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var ExportMD = (function () {
const turndownService = new TurndownService({
hr: '---',
})
.keep([`\\`])
.use(gfm)
.addRule('code', {
filter(node) {
Expand Down