Comments (7)
Hey @mathisgauthey . Could you provide your data.json
?
from obsidian-linter.
Sorry about the delay in responding @mathisgauthey , is it possible that a custom replacement could be used to remove the quotes at this time? I need to take some time to take a closer look at this, but I have something else that I am working on right now.
The custom replacement would be something like:
search for ^(\s*title: ?)"([^"]+)"
replace with $1$2
flags: gm
from obsidian-linter.
I believe this has been resolved based on the comments here, so I am going to close this. We can reopen this if there is a need to do so.
from obsidian-linter.
Hey @mathisgauthey . Could you provide your
data.json
?
Sure thing, here it is :
{
"ruleConfigs": {
"Space between Chinese and English or numbers": {
"Ensures that Chinese and English or numbers are separated by a single space. Follow this [guidelines](https://github.com/sparanoid/chinese-copywriting-guidelines)": false,
"Ensures that Chinese and English or numbers are separated by a single space. Follows these [guidelines](https://github.com/sparanoid/chinese-copywriting-guidelines)": true
},
"Remove Space around Fullwidth Characters": {
"Ensures that fullwidth characters are not followed by whitespace (either single spaces or a tab)": true,
"Ensures that fullwidth characters are not followed by whitespace (either single spaces or a tab). Note that this may causes issues with markdown format in some cases.": true
},
"escape-yaml-special-characters": {
"enabled": false,
"try-to-escape-single-line-arrays": false
},
"force-yaml-escape": {
"enabled": false,
"force-yaml-escape-keys": ""
},
"format-tags-in-yaml": {
"enabled": true
},
"format-yaml-array": {
"enabled": true,
"alias-key": false,
"tag-key": true,
"default-array-style": "single-line",
"default-array-keys": true,
"force-single-line-array-style": "",
"force-multi-line-array-style": "categories\nauthors"
},
"insert-yaml-attributes": {
"enabled": true,
"text-to-insert": "description:\nauthors: Mathis Gauthey\ncategories: \ntags: \naliases: \nshare: false\ncomments: true"
},
"move-tags-to-yaml": {
"enabled": false,
"how-to-handle-existing-tags": "Nothing",
"tags-to-ignore": ""
},
"remove-yaml-keys": {
"enabled": false,
"yaml-keys-to-remove": ""
},
"yaml-key-sort": {
"enabled": true,
"yaml-key-priority-sort-order": "title\naliases\ndescription\nauthors\ncategories\ntags\ndate_created\ndate_modified\nshare\ncomments",
"priority-keys-at-start-of-yaml": true,
"yaml-sort-order-for-other-keys": "Ascending Alphabetical"
},
"yaml-timestamp": {
"enabled": true,
"date-created": true,
"date-created-key": "date_created",
"force-retention-of-create-value": true,
"date-modified": true,
"date-modified-key": "date_modified",
"format": ""
},
"yaml-title": {
"enabled": true,
"title-key": "title",
"mode": "first-h1-or-filename-if-h1-missing"
},
"yaml-title-alias": {
"enabled": false,
"preserve-existing-alias-section-style": true,
"keep-alias-that-matches-the-filename": false,
"use-yaml-key-to-keep-track-of-old-filename-or-heading": true
},
"capitalize-headings": {
"enabled": true,
"style": "Title Case",
"ignore-case-words": true,
"ignore-words": "macOS, iOS, iPhone, iPad, JavaScript, TypeScript, AppleScript",
"lowercase-words": "via, a, an, the, and, or, but, for, nor, so, yet, at, by, in, of, on, to, up, as, is, if, it, for, to, with, without, into, onto, per"
},
"file-name-heading": {
"enabled": true
},
"header-increment": {
"enabled": true,
"start-at-h2": false
},
"footnote-after-punctuation": {
"enabled": true
},
"move-footnotes-to-the-bottom": {
"enabled": true
},
"re-index-footnotes": {
"enabled": false
},
"convert-bullet-list-markers": {
"enabled": true
},
"emphasis-style": {
"enabled": true,
"style": "consistent"
},
"no-bare-urls": {
"enabled": false
},
"ordered-list-style": {
"enabled": true,
"number-style": "ascending",
"list-end-style": "."
},
"proper-ellipsis": {
"enabled": true
},
"remove-consecutive-list-markers": {
"enabled": true
},
"remove-empty-list-markers": {
"enabled": true
},
"remove-hyphenated-line-breaks": {
"enabled": false
},
"remove-multiple-spaces": {
"enabled": true
},
"strong-style": {
"enabled": true,
"style": "consistent"
},
"two-spaces-between-lines-with-content": {
"enabled": false
},
"unordered-list-style": {
"enabled": true,
"list-style": "-"
},
"compact-yaml": {
"enabled": true,
"inner-new-lines": true
},
"consecutive-blank-lines": {
"enabled": true
},
"convert-spaces-to-tabs": {
"enabled": false,
"tabsize": "4"
},
"empty-line-around-blockquotes": {
"enabled": true
},
"empty-line-around-code-fences": {
"enabled": true
},
"empty-line-around-math-blocks": {
"enabled": true
},
"empty-line-around-tables": {
"enabled": true
},
"heading-blank-lines": {
"enabled": true,
"bottom": true,
"empty-line-after-yaml": true
},
"line-break-at-document-end": {
"enabled": true
},
"move-math-block-indicators-to-their-own-line": {
"enabled": true
},
"paragraph-blank-lines": {
"enabled": true
},
"remove-empty-lines-between-list-markers-and-checklists": {
"enabled": true
},
"remove-link-spacing": {
"enabled": true
},
"space-after-list-markers": {
"enabled": true
},
"trailing-spaces": {
"enabled": true,
"twp-space-line-break": false
},
"add-blockquote-indentation-on-paste": {
"enabled": false
},
"prevent-double-checklist-indicator-on-paste": {
"enabled": false
},
"prevent-double-list-item-indicator-on-paste": {
"enabled": false
},
"proper-ellipsis-on-paste": {
"enabled": false
},
"remove-hyphens-on-paste": {
"enabled": false
},
"remove-leading-or-trailing-whitespace-on-paste": {
"enabled": false
},
"remove-leftover-footnotes-from-quote-on-paste": {
"enabled": false
},
"remove-multiple-blank-lines-on-paste": {
"enabled": false
},
"headings-start-line": {
"enabled": false
},
"remove-trailing-punctuation-in-heading": {
"enabled": false,
"punctuation-to-remove": ".,;:!。,;:!"
},
"auto-correct-common-misspellings": {
"enabled": false,
"ignore-words": ""
},
"blockquote-style": {
"enabled": false,
"style": "space"
},
"quote-style": {
"enabled": false,
"single-quote-enabled": true,
"single-quote-style": "''",
"double-quote-enabled": true,
"double-quote-style": "\"\""
},
"remove-space-around-characters": {
"enabled": false,
"include-fullwidth-forms": true,
"include-cjk-symbols-and-punctuation": true,
"include-dashes": true,
"other-symbols": ""
},
"remove-space-before-or-after-characters": {
"enabled": false,
"characters-to-remove-space-before": ",!?;:).’”]",
"characters-to-remove-space-after": "¿¡‘“(["
},
"space-between-chinese-japanese-or-korean-and-english-or-numbers": {
"enabled": false
},
"add-blank-line-after-yaml": {
"enabled": false
},
"default-language-for-code-fences": {
"enabled": false,
"default-language": ""
}
},
"lintOnSave": true,
"recordLintOnSaveLogs": false,
"displayChanged": true,
"lintOnFileChange": false,
"displayLintOnFileChangeNotice": false,
"settingsConvertedToConfigKeyValues": true,
"foldersToIgnore": [
"_Sources",
"5-Templates",
"Passions Backlog"
],
"linterLocale": "system-default",
"logLevel": "ERROR",
"lintCommands": [
{
"id": "",
"name": ""
}
],
"customRegexes": [],
"commonStyles": {
"aliasArrayStyle": "single-line",
"tagArrayStyle": "multi-line",
"minimumNumberOfDollarSignsToBeAMathBlock": 2,
"escapeCharacter": "\"",
"removeUnnecessaryEscapeCharsForMultiLineArrays": true
}
}
from obsidian-linter.
Sorry about the delay in responding @mathisgauthey , is it possible that a custom replacement could be used to remove the quotes at this time? I need to take some time to take a closer look at this, but I have something else that I am working on right now.
The custom replacement would be something like: search for
^(\s*title: ?)"([^"]+)"
replace with$1$2
flags:gm
Hey there, don't worry about that !
That's what I ended up doing using /title:\s"([^"]+)"/i
and title: $1
using gi
flags (g is enabled by default on this plugin and I added the i
) on my obsidian-github-publisher
text replacer setup. It is quite similar.
That's fine, thanks for the input and your time, have a great day o/
from obsidian-linter.
I believe this has been resolved based on the comments here, so I am going to close this. We can reopen this if there is a need to do so.
Oh yes sorry for forgetting about it, thanks for your time and help 💪
from obsidian-linter.
No worries. I was just going back through issues to try to figure out which ones need what to happen yet. I am glad I was able to help and your issue got resolved.
from obsidian-linter.
Related Issues (20)
- FR: Keep Title if It Already Exists HOT 6
- FR: Ignore hyphens in "Space between Chinese Japanese or Korean and English or numbers" HOT 11
- Bug: MisspellingToCorrection not check correctly if my default language in OS settings is English HOT 3
- Bug: `Empty Lines Around Code Fences` can cause problems with nested callouts HOT 1
- FR: Don't auto-complete acronyms
- Bug: Created date gets updated to a different timezone HOT 19
- Question: How do I increase the number of new lines to two before a heading? HOT 7
- Bug: YAML Key Sort option removes multi-line content after literal operator `|` HOT 4
- Bug: tildes in URLs cause the URL to be broken HOT 2
- Bug: "Preserve existing aliases section style" should check Linter's array section style setting to avoid >1 lint HOT 6
- Bug: Indentations for math block removed from callouts or block quotes HOT 5
- Bug: auto “created” and “modified” date time in custom format. HOT 3
- FR: Lint selected files via the Files tab (similar to "Lint folder")
- Question: File Specific Rule Disabling in YAML Frontmatter - Hiding/Editing/Commenting Out rules HOT 4
- Bug: Linter deletes line beginnings and modifies front matter content in certain documents in edit mode HOT 6
- FR: Provide a button to ignore a custom regex replacement when linted.
- Bug: Lint on save doesn't lint on file write on mobile HOT 3
- Bug: numbered list markers all become "1." HOT 3
- Bug: preview mode lint of daily note funnnnnky results HOT 4
- Bug: Linter removes the # from the Share Note share_link URL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-linter.