Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/johnnyhuy/ggsmark into ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
johnnyhuy committed Oct 10, 2020
2 parents 8563e19 + d336642 commit 6697d2a
Show file tree
Hide file tree
Showing 22 changed files with 700 additions and 64 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ dist

test_results.xml
yarn.lock
.vscode/settings.json
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ This package is built on top of the [remarkjs/remark](https://github.com/remarkj

Packages in this monorepo have taken inspiration from [zestedesavoir/zmarkdown](https://github.com/zestedesavoir/zmarkdown). Check out their large suite of plugins!

## Contibuting
Thanks also to [Kaptian Core](https://github.com/KaptianCore) for contributing to the repo.

## Installing

When you have Node JS installed run the following command in your project.


Follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard to calculate versioning.
71 changes: 71 additions & 0 deletions packages/ggsmark/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,77 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.10.3](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.10.3) (2020-09-20)

**Note:** Version bump only for package ggsmark





## [0.10.2](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.10.2) (2020-09-19)

**Note:** Version bump only for package ggsmark





## [0.10.1](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.10.1) (2020-09-19)


### Bug Fixes

* YouTube embed short-hand link ([6429f27](https://github.com/johnnyhuy/ggsmark/commit/6429f27065401beabbba9a549757933d0a113abb))





# [0.10.0](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.10.0) (2020-09-19)


### Bug Fixes

* removed unused package ([52a7562](https://github.com/johnnyhuy/ggsmark/commit/52a7562ac6cf671690d1c432cb9ff0ac7ea9e9c9))
* Ruby fence test output ([a47eb75](https://github.com/johnnyhuy/ggsmark/commit/a47eb75a2e772fa3b6b2070f914931907c7774eb))


### Features

* added code highlighting ([9c836a5](https://github.com/johnnyhuy/ggsmark/commit/9c836a52f9fbbb2849ea2c27f2755e80d0787e0f))





# [0.9.0](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.9.0) (2020-09-15)


### Bug Fixes

* get iframes working with Twitch clips ([b466af3](https://github.com/johnnyhuy/ggsmark/commit/b466af387300dcc00e2975c23a4623756a89bc68))
* snapshot bug ([90f479b](https://github.com/johnnyhuy/ggsmark/commit/90f479b8e10b6824fa99af27339e9f512d5af29a))


### Features

* encode parents into a URL string ([cf2f3bf](https://github.com/johnnyhuy/ggsmark/commit/cf2f3bfb88836de7c1ce71ce3704a4c46320d717))
* expose options ([259f1b5](https://github.com/johnnyhuy/ggsmark/commit/259f1b525f2d9a379a7bec8a6dc529f424d59de9))
* show clips, channels and other stuff ([b2c84e0](https://github.com/johnnyhuy/ggsmark/commit/b2c84e09372fe24daf377f6b4915f84ff511e48e))





## [0.8.11](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.8.11) (2020-09-14)

**Note:** Version bump only for package ggsmark





## [0.8.10](https://github.com/johnnyhuy/ggsmark/compare/[email protected]@0.8.10) (2020-09-14)


Expand Down
14 changes: 8 additions & 6 deletions packages/ggsmark/__tests__/__snapshots__/index.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ exports[`render right alignment text multi line 1`] = `
exports[`render right alignment text single line 1`] = `"<div style=\\"text-align: right\\"><p>RightText</p></div>"`;
exports[`render soundcloud blocks content before and after 1`] = `"<p><strong>bold text</strong> before text !(<a href=\\"https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\">https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion</a>) after text <strong>bold</strong></p>"`;
exports[`render soundcloud blocks multiple occurrences 1`] = `
"<iframe src=\\"https://w.soundcloud.com/player/?visual=true&#x26;url=https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\" width=\\"100%\\" height=\\"150\\" allowfullscreen frameborder=\\"0\\"></iframe>
<iframe src=\\"https://w.soundcloud.com/player/?visual=true&#x26;url=https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\" width=\\"100%\\" height=\\"150\\" allowfullscreen frameborder=\\"0\\"></iframe>
<iframe src=\\"https://w.soundcloud.com/player/?visual=true&#x26;url=https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\" width=\\"100%\\" height=\\"150\\" allowfullscreen frameborder=\\"0\\"></iframe>"
`;
exports[`render soundcloud blocks should not show iframe inline 1`] = `"<p><strong>bold text</strong> before text !(<a href=\\"https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\">https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion</a>) after text <strong>bold</strong></p>"`;
exports[`render soundcloud blocks single line 1`] = `"<iframe src=\\"https://w.soundcloud.com/player/?visual=true&#x26;url=https://soundcloud.com/iamcardib/wap-feat-megan-thee-stallion\\" width=\\"100%\\" height=\\"150\\" allowfullscreen frameborder=\\"0\\"></iframe>"`;
exports[`render youtube blocks repeated youtube 1`] = `
Expand All @@ -38,9 +38,11 @@ exports[`render youtube blocks repeated youtube 1`] = `
`;
exports[`render youtube blocks repeated youtube with text before and after 1`] = `
"<p><strong>bold</strong> string before comyoutube !(<a href=\\"http://www.youtube./watch?v=52c_QSg64fs\\">http://www.youtube./watch?v=52c_QSg64fs</a>) after youtube !(<a href=\\"http://www.youtube.com/watch?v=waefawefwaef\\">http://www.youtube.com/watch?v=waefawefwaef</a>) <em>italics</em>
soft new line</p>
<p>new line</p>"
"<p><strong>bold</strong> string before comyoutube !(<a href=\\"http://www.youtube.com/watch?v=52c_QSg64fs\\">http://www.youtube.com/watch?v=52c_QSg64fs</a>) after youtube !(<a href=\\"http://www.youtube.com/watch?v=waefawefwaef\\">http://www.youtube.com/watch?v=waefawefwaef</a>) <em>italics</em>
soft new line
new line</p>"
`;
exports[`render youtube blocks youtube with timestamp 1`] = `"<iframe src=\\"https://youtu.be/IJhgZBn-LHg?t=712\\" width=\\"560\\" height=\\"315\\" allowfullscreen frameborder=\\"0\\"></iframe>"`;
exports[`render youtube blocks short-hand youtube 1`] = `"<p>!(http://www.youtu.be/52c_QSg64fs)</p>"`;
exports[`render youtube blocks youtube with timestamp 1`] = `"<iframe src=\\"https://youtube.com/embed/IJhgZBn-LHg?t=712\\" width=\\"560\\" height=\\"315\\" allowfullscreen frameborder=\\"0\\"></iframe>"`;
Loading

0 comments on commit 6697d2a

Please sign in to comment.