Releases: peckjon/github-to-guru
1.9.0: Merge pull request #26 from peckjon/peckjon-footer-for-internal
Fixes #25
This change makes it possible to add a footer to a card in an INTERNAL collection.
- In copyCardData() the line const cardpathRegex = /CARDPATH/g; is now declared at the top of the file, making it globally accessible.
- In processStandardCollection() the card footer is read from the GURU_CARD_FOOTER environment variable and, if it exists, will be appended to the card content. The text CARDPATH in the footer is replaced with the URI-encoded filename of the card.
Full Changelog: 1.8.1...1.9.0
note related: guru-to-github
What's Changed
- Crosslink parkerbxyz/guru-to-github by @peckjon @parkerbxyz in #24
Full Changelog: 1.8.0...1.8.1
Update to Node 16
Node 12 actions are deprecated, update to 16
Security Updates
What's Changed
- Bump markdown-it from 12.2.0 to 12.3.2 by @dependabot in #11
- Bump follow-redirects from 1.14.4 to 1.14.8 by @dependabot in #13
- Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in #14
- update npm by @peckjon in #15
New Contributors
Full Changelog: 1.7.5...1.7.6
README updates
Links and collection creation guidance fixed — thanks @rwnfoo !
GURU_WRAP_MARKDOWN: off by default
Markdown div wrapping as per https://app.getguru.com/card/ceE6gnEi appears to be broken on the Guru side (special characters ets are being misconverted). Disabling default wrapping (add GURU_WRAP_MARKDOWN: 1
to config to re-enable).
Preferred method is to preconvert to HTML using GURU_CONVERT_MARKDOWN: 1
instead.
Replace multiple instances of __CARDPATH__
Fix: only the first instance of __CARDPATH__
was being replaced
Wrap content in a Markdown Block
Markdown content is now wrapped in a Markdown Block, as specified in https://app.getguru.com/card/ceE6gnEi, to make the Guru-side rendering more reliable: <div class="ghq-card-content__markdown" data-ghq-card-content-type="MARKDOWN" data-ghq-card-content-markdown-content="[URLENCODED_MARKDOWN]"></div>
1.7.1
Guru automatically converts Markdown to HTML, but there are some known issues with the conversion. To preconvert Markdown files using markdown-it, set the env GURU_CONVERT_MARKDOWN
to 1
in your workflow.
Enable preconversion of Markdown to HTML
Guru automatically converts Markdown to HTML, but there are some known issues with the conversion. To preconvert Markdown files using markdown-it, set the env GURU_CONVERT_MARKDOWN
to true
in your workflow.