mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
Chore: Fixed a few links that were broken after Lerna upgrade
This commit is contained in:
parent
f1bbcea64b
commit
ff5e8ee7aa
@ -48,7 +48,7 @@ const listState = function (editor: Editor, listName, options:any = {}) {
|
|||||||
// dependent on how the checkbox is styled, so if the style is changed, this might need
|
// dependent on how the checkbox is styled, so if the style is changed, this might need
|
||||||
// to be updated too.
|
// to be updated too.
|
||||||
// For the styling, see:
|
// For the styling, see:
|
||||||
// packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/checkbox.ts
|
// packages/renderer/MdToHtml/rules/checkbox.ts
|
||||||
//
|
//
|
||||||
// The previous solution was to use "pointer-event: none", which mostly work, however
|
// The previous solution was to use "pointer-event: none", which mostly work, however
|
||||||
// it means that links are no longer clickable when they are within the checkbox label.
|
// it means that links are no longer clickable when they are within the checkbox label.
|
||||||
|
@ -102,9 +102,9 @@
|
|||||||
"./packages/app-mobile/fastlane/Preview.html": true,
|
"./packages/app-mobile/fastlane/Preview.html": true,
|
||||||
"./packages/app-mobile/fastlane/report.xml": true,
|
"./packages/app-mobile/fastlane/report.xml": true,
|
||||||
"./packages/app-mobile/fastlane/screenshots": true,
|
"./packages/app-mobile/fastlane/screenshots": true,
|
||||||
"./packages/app-mobile/lib/joplin-renderer/**/.vscode/": true,
|
"./packages/renderer/**/.vscode/": true,
|
||||||
"./packages/app-mobile/lib/joplin-renderer/**/copyLib.bat": true,
|
"./packages/renderer/**/copyLib.bat": true,
|
||||||
"./packages/app-mobile/lib/joplin-renderer/**/node_modules/": true,
|
"./packages/renderer/**/node_modules/": true,
|
||||||
"./packages/app-tools/**/*-kct.*": true,
|
"./packages/app-tools/**/*-kct.*": true,
|
||||||
"./packages/app-tools/**/github_username_cache.json": true,
|
"./packages/app-tools/**/github_username_cache.json": true,
|
||||||
"./packages/app-tools/**/patreon_oauth_token.txt": true,
|
"./packages/app-tools/**/patreon_oauth_token.txt": true,
|
||||||
@ -300,13 +300,13 @@
|
|||||||
"packages/app-mobile/fastlane/screenshots": true,
|
"packages/app-mobile/fastlane/screenshots": true,
|
||||||
"packages/app-mobile/ios/build/": true,
|
"packages/app-mobile/ios/build/": true,
|
||||||
"packages/app-mobile/lib/csstojs/": true,
|
"packages/app-mobile/lib/csstojs/": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/**/.vscode/": true,
|
"packages/renderer/**/.vscode/": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/**/copyLib.bat": true,
|
"packages/renderer/**/copyLib.bat": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/**/node_modules/": true,
|
"packages/renderer/**/node_modules/": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/checkbox.js": true,
|
"packages/renderer/MdToHtml/rules/checkbox.js": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/fence.js": true,
|
"packages/renderer/MdToHtml/rules/fence.js": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/mermaid.js": true,
|
"packages/renderer/MdToHtml/rules/mermaid.js": true,
|
||||||
"packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/sanitize_html.js": true,
|
"packages/renderer/MdToHtml/rules/sanitize_html.js": true,
|
||||||
"packages/app-mobile/lib/rnInjectedJs/": true,
|
"packages/app-mobile/lib/rnInjectedJs/": true,
|
||||||
"packages/app-mobile/lib/sql-extensions/spellfix.so": true,
|
"packages/app-mobile/lib/sql-extensions/spellfix.so": true,
|
||||||
"packages/generator-joplin/generators/app/templates/api/": true,
|
"packages/generator-joplin/generators/app/templates/api/": true,
|
||||||
|
@ -52,7 +52,7 @@ tasks.prepareTestBuild = {
|
|||||||
|
|
||||||
// await utils.copyDir(`${rootDir}/packages/app-mobile/lib`, `${testBuildDir}/lib`, {
|
// await utils.copyDir(`${rootDir}/packages/app-mobile/lib`, `${testBuildDir}/lib`, {
|
||||||
// excluded: [
|
// excluded: [
|
||||||
// `${rootDir}/packages/app-mobile/lib/joplin-renderer/node_modules`,
|
// `${rootDir}/packages/renderer/node_modules`,
|
||||||
// ],
|
// ],
|
||||||
// });
|
// });
|
||||||
// await utils.copyDir(`${rootDir}/packages/app-mobile/locales`, `${testBuildDir}/locales`);
|
// await utils.copyDir(`${rootDir}/packages/app-mobile/locales`, `${testBuildDir}/locales`);
|
||||||
|
@ -353,9 +353,9 @@ export enum ContentScriptType {
|
|||||||
*
|
*
|
||||||
* - The `context` argument is currently unused but could be used later on to provide access to your own plugin so that the content script and plugin can communicate.
|
* - The `context` argument is currently unused but could be used later on to provide access to your own plugin so that the content script and plugin can communicate.
|
||||||
*
|
*
|
||||||
* - The **required** `plugin` key is the actual Markdown-It plugin - check the [official doc](https://github.com/markdown-it/markdown-it) for more information. The `options` parameter is of type [RuleOptions](https://github.com/laurent22/joplin/blob/dev/packages/app-mobile/lib/joplin-renderer/MdToHtml.ts), which contains a number of options, mostly useful for Joplin's internal code.
|
* - The **required** `plugin` key is the actual Markdown-It plugin - check the [official doc](https://github.com/markdown-it/markdown-it) for more information. The `options` parameter is of type [RuleOptions](https://github.com/laurent22/joplin/blob/dev/packages/renderer/MdToHtml.ts), which contains a number of options, mostly useful for Joplin's internal code.
|
||||||
*
|
*
|
||||||
* - Using the **optional** `assets` key you may specify assets such as JS or CSS that should be loaded in the rendered HTML document. Check for example the Joplin [Mermaid plugin](https://github.com/laurent22/joplin/blob/dev/packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/mermaid.ts) to see how the data should be structured.
|
* - Using the **optional** `assets` key you may specify assets such as JS or CSS that should be loaded in the rendered HTML document. Check for example the Joplin [Mermaid plugin](https://github.com/laurent22/joplin/blob/dev/packages/renderer/MdToHtml/rules/mermaid.ts) to see how the data should be structured.
|
||||||
*
|
*
|
||||||
* To include a regular Markdown-It plugin, that doesn't make use of any Joplin-specific features, you would simply create a file such as this:
|
* To include a regular Markdown-It plugin, that doesn't make use of any Joplin-specific features, you would simply create a file such as this:
|
||||||
*
|
*
|
||||||
@ -400,7 +400,7 @@ export enum ContentScriptType {
|
|||||||
*
|
*
|
||||||
* - The `codeMirrorOptions` key contains all the [CodeMirror](https://codemirror.net/doc/manual.html#config) options that will be set or changed by this plugin. New options can alse be declared via [`CodeMirror.defineOption`](https://codemirror.net/doc/manual.html#defineOption), and then have their value set here. For example, a plugin that enables line numbers would set `codeMirrorOptions` to `{'lineNumbers': true}`.
|
* - The `codeMirrorOptions` key contains all the [CodeMirror](https://codemirror.net/doc/manual.html#config) options that will be set or changed by this plugin. New options can alse be declared via [`CodeMirror.defineOption`](https://codemirror.net/doc/manual.html#defineOption), and then have their value set here. For example, a plugin that enables line numbers would set `codeMirrorOptions` to `{'lineNumbers': true}`.
|
||||||
*
|
*
|
||||||
* - Using the **optional** `assets` key you may specify **only** CSS assets that should be loaded in the rendered HTML document. Check for example the Joplin [Mermaid plugin](https://github.com/laurent22/joplin/blob/dev/packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/mermaid.ts) to see how the data should be structured.
|
* - Using the **optional** `assets` key you may specify **only** CSS assets that should be loaded in the rendered HTML document. Check for example the Joplin [Mermaid plugin](https://github.com/laurent22/joplin/blob/dev/packages/renderer/MdToHtml/rules/mermaid.ts) to see how the data should be structured.
|
||||||
*
|
*
|
||||||
* One of the `plugin`, `codeMirrorResources`, or `codeMirrorOptions` keys must be provided for the plugin to be valid. Having multiple or all provided is also okay.
|
* One of the `plugin`, `codeMirrorResources`, or `codeMirrorOptions` keys must be provided for the plugin to be valid. Having multiple or all provided is also okay.
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "@joplin/renderer",
|
"name": "@joplin/renderer",
|
||||||
"version": "1.0.17",
|
"version": "1.0.17",
|
||||||
"description": "The Joplin note renderer, used the mobile and desktop application",
|
"description": "The Joplin note renderer, used the mobile and desktop application",
|
||||||
"repository": "https://github.com/laurent22/joplin/tree/dev/packages/app-mobile/lib/joplin-renderer",
|
"repository": "https://github.com/laurent22/joplin/tree/dev/packages/renderer",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
@ -7,7 +7,7 @@ module.exports = {
|
|||||||
fn: async function() {
|
fn: async function() {
|
||||||
const copyOptions = {
|
const copyOptions = {
|
||||||
excluded: [
|
excluded: [
|
||||||
`${rootDir}/packages/app-mobile/lib/joplin-renderer/node_modules`,
|
`${rootDir}/packages/renderer/node_modules`,
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user