Skip to content

Commit

Permalink
disable imagesize implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko committed Feb 26, 2024
1 parent 67737a0 commit e097c56
Show file tree
Hide file tree
Showing 13 changed files with 81 additions and 70 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@

### Bug Fixes

* keepImageSize added to config ([#458](https://github.com/akosbalasko/yarle/issues/458)) ([b0ed312](https://github.com/akosbalasko/yarle/commit/b0ed31295cd799b644dd3aa56029047cdced7539))
* imageSizeFormat added to config ([#458](https://github.com/akosbalasko/yarle/issues/458)) ([b0ed312](https://github.com/akosbalasko/yarle/commit/b0ed31295cd799b644dd3aa56029047cdced7539))

## [5.0.8](https://github.com/akosbalasko/yarle/compare/v5.0.7...v5.0.8) (2023-02-28)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ The following configurational properties are available:
| ```dateFormat``` | string | ISO 8601 specification of the expected date format (e.g. YYYY-MM-DD)
|```keepMDCharactersOfENNotes```| true or false | set it true, if you used Markdown format in your EN notes|
| ```nestedTags``` | it's a complex property contains the following subitems: "separatorInEN", "replaceSeparatorWith" and "replaceSpaceWith" | separatorInEN stores the tag separator used in Evernote, replaceSeparatorWith is the string to what separatorInEN should be replaced to, and replaceSpaceWith is the string to what the space character should be replaced to in the tags. For example using the default settings a tag ```tag1_sub tag of tag1``` is going to be converted to ```tag1/sub-tag-of-tag1```
| ```keepImageSize``` | `ObsidianMD` or `StandardMD` | preserve an image's width and height in the chosen format when specified
|```keepImageSize``` | boolean | preserve the images' size or not
| ```imageSizeFormat``` | `ObsidianMD` or `StandardMD` | specifies the format if keepImageSize is set to True
| ```urlEncodeFileNamesAndLinks``` | true or false | URL-encodes linked file names and internal EN links . e.g "linked file.jpg" will be converted to "linked%20file.jpg"
| ```sanitizeResourceNameSpaces``` | true or false | Replace spaces in resource names with the `replacementChar`. e.g "linked file.jpg" will be converted to "linked_file.jpg"
| ```replacementChar``` | string | the replacement character. e.g "linked*file.jpg" will be converted to "linked_file.jpg". It defaults to "_"
Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"useHashTags": true,
"outputFormat": "ObsidianMD",
"taskOutputFormat": "ObsidianMD",
"keepImageSize": "ObsidianMD",
"imageSizeFormat": "ObsidianMD",
"keepImageSize": true,
"skipEnexFileNameFromOutputPath": false,
"keepOriginalAmountOfNewlines": false,
"urlEncodeFileNamesAndLinks": false,
Expand Down
3 changes: 2 additions & 1 deletion config.logseq.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"outputFormat": "StandardMD",
"taskOutputFormat": "StandardMD",
"keepImageSize": "StandardMD",
"imageSizeFormat": "StandardMD",
"keepImageSize": true,
"urlEncodeFileNamesAndLinks": false,
"sanitizeResourceNameSpaces": false,
"replacementChar": "_",
Expand Down
3 changes: 2 additions & 1 deletion config.tana.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"useHashTags": false,
"outputFormat": "Tana Internal Format",
"taskOutputFormat": "ObsidianMD",
"keepImageSize": "ObsidianMD",
"imageSizeFormat": "ObsidianMD",
"keepImageSize": true,
"skipEnexFileNameFromOutputPath": false,
"keepOriginalAmountOfNewlines": false,
"urlEncodeFileNamesAndLinks": false,
Expand Down
58 changes: 19 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e097c56

Please sign in to comment.