@wenyan-md/core 3.0.1 → 3.0.2

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/dist/core.js CHANGED
@@ -587,6 +587,8 @@ function wechatPostRender(element) {
587
587
  }
588
588
  li.appendChild(section);
589
589
  });
590
+ element.style.color = "rgb(0, 0, 0)";
591
+ element.style.caretColor = "rgb(0, 0, 0)";
590
592
  }
591
593
  const themeModifier = createCssModifier({});
592
594
  function renderTheme(wenyanElement, themeCss) {
@@ -31,3 +31,4 @@ export * from "./platform/medium.js";
31
31
  export * from "./platform/zhihu.js";
32
32
  export * from "./platform/toutiao.js";
33
33
  export { addFootnotes } from "./renderer/footnotesRender.js";
34
+ export type WenyanCoreInstance = Awaited<ReturnType<typeof createWenyanCore>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenyan-md/core",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Core library for Wenyan markdown rendering & publishing",
5
5
  "author": "Lei <caol64@gmail.com> (https://github.com/caol64)",
6
6
  "license": "Apache-2.0",