starlight-obsidian 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/libs/markdown.ts +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# starlight-obsidian
|
|
2
2
|
|
|
3
|
+
## 0.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#47](https://github.com/HiDeoo/starlight-obsidian/pull/47) [`290b2ee`](https://github.com/HiDeoo/starlight-obsidian/commit/290b2ee81556be17dbd5ba01854696b6e6c540a2) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes a potential issue with autolinks in MDX by enforcing the use of resource links.
|
|
8
|
+
|
|
3
9
|
## 0.8.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/libs/markdown.ts
CHANGED
|
@@ -7,7 +7,12 @@ import { VFile } from 'vfile'
|
|
|
7
7
|
|
|
8
8
|
import { remarkStarlightObsidian, type TransformContext } from './remark'
|
|
9
9
|
|
|
10
|
-
const processor = remark()
|
|
10
|
+
const processor = remark()
|
|
11
|
+
.data('settings', { resourceLink: true })
|
|
12
|
+
.use(remarkGfm)
|
|
13
|
+
.use(remarkMath)
|
|
14
|
+
.use(remarkFrontmatter)
|
|
15
|
+
.use(remarkStarlightObsidian)
|
|
11
16
|
|
|
12
17
|
export async function transformMarkdownToString(
|
|
13
18
|
filePath: string,
|