Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.0 #57

Merged
merged 8 commits into from
Jan 21, 2025
Merged
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
4 changes: 0 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@
"parserOptions": {
"project": ["tsconfig.json", "tsconfig.test.json"]
},
"rules": {
// I prefer union types of literals with string for brevity
"@typescript-eslint/no-redundant-type-constituents": "warn"
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ dist
.svelte-kit

### VisualStudioCode ###
.vscode/*
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
Expand Down
214 changes: 104 additions & 110 deletions README.md

Large diffs are not rendered by default.

369 changes: 159 additions & 210 deletions docs/index.md

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
export { nodesToHTML, nodesToHTMLAsync, NodeToHtml, NodeToHtmlAsync, NodeToHtmlMap, AsyncNodeToHtmlMap } from './src/index.js';
export { traversePortableText } from './src/utils/transformer-utils.js';
export { transformToJson } from "./src/transformers/json-transformer/json-transformer.js";
export { transformToPortableText } from "./src/transformers/portable-text-transformer/portable-text-transformer.js";
export { parse as browserParse } from "./src/parser/browser/rich-text-browser-parser.js";
export { parse as nodeParse } from "./src/parser/node/rich-text-node-parser.js";
export { resolveImage, resolveTable, toHTMLImageDefault } from "./src/utils/resolution/html.js";
export { parseHTML } from "./src/parser/index.js";
export { resolveImage, resolveTable, toHTMLImageDefault, PortableTextHtmlResolvers, toHTML } from "./src/utils/resolution/html.js";
export { resolveImage as resolveImageVue, resolveTable as resolveTableVue, toVueImageDefault } from "./src/utils/resolution/vue.js";
export { toManagementApiFormat } from './src/utils/resolution/mapi.js';
export * from './src/transformers/index.js';
Expand Down
Binary file removed media/domtree.jpg
Binary file not shown.
Loading
Loading