Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

[email protected]

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.

[email protected]

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]

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]

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]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant