Skip to content

Commit

Permalink
Merge pull request #1120 from pjkaufman/master
Browse files Browse the repository at this point in the history
Release Prep 1.25.0
  • Loading branch information
pjkaufman authored Jul 8, 2024
2 parents 400d7d2 + feba0c5 commit 2e5aeee
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/docs/settings/content-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Alias: `auto-correct-common-misspellings`

Uses a dictionary of common misspellings to automatically convert them to their proper spellings. See [auto-correct map](https://github.com/platers/obsidian-linter/tree/master/src/utils/auto-correct-misspellings.ts) for the full list of auto-corrected words.
Uses a dictionary of common misspellings to automatically convert them to their proper spellings. See [auto-correct map](https://github.com/platers/obsidian-linter/tree/master/src/utils/auto-correct-misspellings.ts) for the full list of auto-corrected words. **Note: this list can work on text from multiple languages, but this list is the same no matter what language is currently in use.**

### Options

Expand Down
72 changes: 71 additions & 1 deletion docs/docs/settings/yaml-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ Keep track of the date the file was last edited in the YAML front matter. Gets d
| `Date Modified` | Insert the date the file was last modified | N/A | `true` |
| `Date Modified Key` | Which YAML key to use for modification date | N/A | `date modified` |
| `Format` | Moment date format to use (see [Moment format options](https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/)) | N/A | `dddd, MMMM Do YYYY, h:mm:ss a` |
| `Convert Local Time to UTC` | Uses UTC equivalent for saved dates instead of local time | N/A | false |

### Additional Info

Expand Down Expand Up @@ -1170,6 +1171,75 @@ modified: Wednesday, January 1st 2020, 4:00:00 pm
# H1
``````
</details>
<details><summary>Header is set with convert to UTC option true</summary>

Before:

`````` markdown
# H1
``````

After:

`````` markdown
---
date created: 2020-01-01T14:00:00+00:00
date modified: 2020-01-02T02:00:05+00:00
---
# H1
``````
</details>
<details><summary>dateCreated option is false with convert to UTC option true</summary>

Before:

`````` markdown
# H1
``````

After:

`````` markdown
---
date modified: 2020-01-02T02:00:05+00:00
---
# H1
``````
</details>
<details><summary>Date Created Key is set with convert to UTC option true</summary>

Before:

`````` markdown
# H1
``````

After:

`````` markdown
---
created: 2020-01-01T14:00:00+00:00
---
# H1
``````
</details>
<details><summary>Date Modified Key is set with convert to UTC option true</summary>

Before:

`````` markdown
# H1
``````

After:

`````` markdown
---
modified: 2020-01-02T02:00:05+00:00
---
# H1
``````
</details>

## YAML Title

Expand Down Expand Up @@ -1278,7 +1348,7 @@ title: Filename

Alias: `yaml-title-alias`

Inserts the title of the file into the YAML frontmatter's aliases section. Gets the title from the first H1 or filename.
Inserts or updates the title of the file into the YAML frontmatter's aliases section. Gets the title from the first H1 or filename.

### Options

Expand Down
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.25.0-rc-1",
"version": "1.25.0",
"minAppVersion": "1.4.16",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.24.0",
"version": "1.25.0",
"minAppVersion": "1.4.16",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-linter",
"version": "1.25.0-rc-1",
"version": "1.25.0",
"description": "Enforces consistent markdown styling for Obsidian (https://obsidian.md). It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@
"1.23.0": "1.4.16",
"1.23.1": "1.4.16",
"1.23.2": "1.4.16",
"1.24.0": "1.4.16"
"1.24.0": "1.4.16",
"1.25.0": "1.4.16"
}

0 comments on commit 2e5aeee

Please sign in to comment.