Skip to content

Releases: rasendubi/uniorg

@uniorgjs/[email protected]

24 Aug 13:06
cb0709d
Compare
Choose a tag to compare

Patch Changes

@uniorgjs/[email protected]

11 Jul 16:32
11ef103
Compare
Choose a tag to compare

Patch Changes

  • #80 7cd7a83 Thanks @venikx! - Add missing dependencies (uniorg-parse and uniorg-rehype) to orgx.

[email protected]

11 May 15:46
9026b61
Compare
Choose a tag to compare

Patch Changes

  • #73 67579ad Thanks @xandeer! - Fix parsing unicode characters in headline tags. The regex for parsing tags previously used \w (word) class, which does not behave correctly with unicode. Update it to use unicode's Letter and Number character properties instead.

v1.0.0

29 Jan 04:22
Compare
Choose a tag to compare

This is the first stable release of Uniorg. It is backwards compatible with v0.5.x, so you should be safe to upgrade.

Package version are going to be managed independently after this version and will follow semver.

What's Changed

  • feat(uniorg-parse): support useSubSuperscripts options by @rasendubi in #64

New packages

  • @unifiedjs/orgx to convert org-mode files to JSX
  • rollup-plugin-org to allow importing .org files in rollup/vite
  • astro-org is an Astro plugin that allows importing org files

Full Changelog: v0.5.9...v1.0.0

[email protected]

29 Jan 10:03
16e329b
Compare
Choose a tag to compare

Minor Changes

  • #33 67420e7 Thanks @rasendubi! - Support native org-mode citations in uniorg, uniorg-parse, uniorg-rehype, uniorg-stringify.

    This is a breaking change for uniorg-parse as it may output nodes unknown to downstream packages (uniorg-rehype, uniorg-stringify).

    If you upgrade uniorg-parse to >=2, you also need to bump uniorg-rehype to >=1.1 and uniorg-stringify to >=1.1 (if you use these). Upgrading uniorg-rehype and uniorg-stringify does not require bumping uniorg-parse.

    The default rendering of citations in uniorg-rehype is quite primitive and citations are transformed into cite: links (to keep some compatibility with org-ref). The handling can be overridden by specifying your own handlers.

[email protected]

29 Jan 10:04
Compare
Choose a tag to compare

Minor Changes

  • #33 67420e7 Thanks @rasendubi! - Support native org-mode citations in uniorg, uniorg-parse, uniorg-rehype, uniorg-stringify.

    This is a breaking change for uniorg-parse as it may output nodes unknown to downstream packages (uniorg-rehype, uniorg-stringify).

    If you upgrade uniorg-parse to >=2, you also need to bump uniorg-rehype to >=1.1 and uniorg-stringify to >=1.1 (if you use these). Upgrading uniorg-rehype and uniorg-stringify does not require bumping uniorg-parse.

    The default rendering of citations in uniorg-rehype is quite primitive and citations are transformed into cite: links (to keep some compatibility with org-ref). The handling can be overridden by specifying your own handlers.

[email protected]

29 Jan 05:11
Compare
Choose a tag to compare

Patch Changes

[email protected]

29 Jan 10:05
Compare
Choose a tag to compare

Minor Changes

  • #33 67420e7 Thanks @rasendubi! - Support native org-mode citations in uniorg, uniorg-parse, uniorg-rehype, uniorg-stringify.

    This is a breaking change for uniorg-parse as it may output nodes unknown to downstream packages (uniorg-rehype, uniorg-stringify).

    If you upgrade uniorg-parse to >=2, you also need to bump uniorg-rehype to >=1.1 and uniorg-stringify to >=1.1 (if you use these). Upgrading uniorg-rehype and uniorg-stringify does not require bumping uniorg-parse.

    The default rendering of citations in uniorg-rehype is quite primitive and citations are transformed into cite: links (to keep some compatibility with org-ref). The handling can be overridden by specifying your own handlers.

  • #33 67420e7 Thanks @rasendubi! - OrgToHastOptions now has handlers property. You can override rendering of any org node by passing your own handler.

    For example:

    import { h } from 'hastscript';
    const processor = unified()
      .use(uniorgParse)
      .use(uniorg2rehype, {
        handlers: {
          comment: (org) => {
            return h('div.comment', [{ type: 'text', value: org.value }]);
          },
        },
      });

[email protected]

29 Jan 10:06
Compare
Choose a tag to compare

Major Changes

  • #33 67420e7 Thanks @rasendubi! - Support native org-mode citations in uniorg, uniorg-parse, uniorg-rehype, uniorg-stringify.

    This is a breaking change for uniorg-parse as it may output nodes unknown to downstream packages (uniorg-rehype, uniorg-stringify).

    If you upgrade uniorg-parse to >=2, you also need to bump uniorg-rehype to >=1.1 and uniorg-stringify to >=1.1 (if you use these). Upgrading uniorg-rehype and uniorg-stringify does not require bumping uniorg-parse.

    The default rendering of citations in uniorg-rehype is quite primitive and citations are transformed into cite: links (to keep some compatibility with org-ref). The handling can be overridden by specifying your own handlers.

@uniorgjs/[email protected]

29 Jan 21:13
Compare
Choose a tag to compare

Patch Changes

  • #69 0ed9a38 Thanks @rasendubi! - Remove accidentally exposed mdExtensions and mdxExtensions options and expose uniorgParseOptions.