Keith Cirkel
080cfecaa4
upgrade typescript to latest
...
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2021-11-01 09:02:12 +00:00
dgreif
d5f6f05aca
0.9.1
2021-09-06 21:49:32 -07:00
Alon Kenneth
e205f028bc
Escape specific html tags in P elements when quoting to markdown ( #23 )
2021-08-04 10:55:16 -07:00
Kristján Oddsson
e53342ad33
Merge pull request #21 from github/use-correct-create-node-iterator-api
...
Use correct createNodeIterator api
2020-04-14 15:58:13 +01:00
Kristján Oddsson
4c7a595044
Merge branch 'master' into use-correct-create-node-iterator-api
2020-04-14 15:54:44 +01:00
Kristján Oddsson
c59d49a149
Create CODEOWNERS
2020-04-14 13:29:49 +01:00
Kristján Oddsson
7510f74711
use correct createNodeIterator api
2020-04-14 13:27:55 +01:00
David Graham
76218fa16b
0.9.0
2020-04-10 16:18:16 -06:00
David Graham
c2cb42b670
Merge pull request #20 from github/typescript
...
Replace Babel + Flow with TypeScript
2020-04-10 16:16:22 -06:00
David Graham
5418a4d7c2
Fix type cast
...
Co-Authored-By: Mu-An 慕安 <me@muanchiou.com>
2020-04-10 15:32:33 -06:00
David Graham
9dae58a5bf
Replace Babel + Flow with TypeScript
...
Uses our current toolchain to build the project and removes
`for…of` iterator transformation in the module output.
No behavior or API changes here.
2020-04-10 11:50:58 -06:00
David Graham
48599c9d51
Update development dependencies
2020-04-10 09:21:35 -06:00
David Graham
8a1cafcb9d
0.8.4
2019-11-05 16:11:05 -07:00
David Graham
2f6d5e2644
Update development dependencies
2019-11-05 16:10:47 -07:00
Kristján Oddsson
df4fe67c57
Merge pull request #18 from github/use-github-lint-binary
...
Use github-lint binary as lint command
2019-09-12 17:41:24 +01:00
Kristján Oddsson
2f8fc77db6
use github-lint binary as lint command
2019-09-12 16:11:43 +01:00
Kristján Oddsson
8c06d65092
0.8.3
2019-09-11 15:57:48 +01:00
Kristján Oddsson
4b032693a7
Merge pull request #15 from github/add-typescript-definition-file
...
Add typescript definition file
2019-09-11 14:57:04 +00:00
Kristján Oddsson
208849de9e
Merge branch 'master' into add-typescript-definition-file
2019-09-11 14:55:08 +00:00
Kristján Oddsson
9095a5c080
Merge pull request #17 from github/update-deps
...
Run `npm audit fix`
2019-09-11 14:54:47 +00:00
Kristján Oddsson
8145e9b6c8
Merge branch 'master' into update-deps
2019-09-11 14:52:50 +00:00
Kristján Oddsson
405d6981bc
Merge pull request #16 from github/gh-ci
...
Use GitHub CI
2019-09-11 14:52:00 +00:00
Kristján Oddsson
9533a2e730
run `npm audit fix`
2019-09-11 13:26:44 +01:00
Kristján Oddsson
04a6b78510
Use GitHub CI
2019-09-11 13:25:35 +01:00
Kristján Oddsson
579fbd9114
add typescript definition file
2019-09-11 13:24:31 +01:00
Kristján Oddsson
e2bdedcf12
0.8.2
2019-08-30 11:08:43 +01:00
Kristján Oddsson
b03e53faf5
Merge pull request #14 from github/publish-to-gpr-as-well
...
Publish to GPR as a postpublish step
2019-08-30 11:07:13 +01:00
Kristján Oddsson
0a43b408ce
Merge branch 'master' into publish-to-gpr-as-well
2019-08-30 11:04:34 +01:00
Kristján Oddsson
0ea74789c4
Merge pull request #13 from github/dependabot/npm_and_yarn/mixin-deep-1.3.2
...
Bump mixin-deep from 1.3.1 to 1.3.2
2019-08-29 13:59:27 +01:00
Kristján Oddsson
525a178a79
publish to GPR as a postpublish step
2019-08-29 13:58:43 +01:00
dependabot[bot]
2ba4c154f7
Bump mixin-deep from 1.3.1 to 1.3.2
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-28 03:12:34 +00:00
Kristján Oddsson
c817c4e766
Merge pull request #12 from github/dependabot/npm_and_yarn/eslint-utils-1.4.2
...
Bump eslint-utils from 1.3.1 to 1.4.2
2019-08-27 09:03:43 +01:00
dependabot[bot]
83fc862954
Bump eslint-utils from 1.3.1 to 1.4.2
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-26 17:04:55 +00:00
Kristján Oddsson
95ca08814f
0.8.1
2019-08-23 12:19:34 +01:00
Kristján Oddsson
d14d70c156
Merge pull request #11 from github/dependabot/npm_and_yarn/lodash-4.17.15
...
Bump lodash from 4.17.11 to 4.17.15
2019-08-23 12:18:38 +01:00
dependabot[bot]
6ca66e7057
Bump lodash from 4.17.11 to 4.17.15
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-23 11:07:17 +00:00
Mislav Marohnić
9ae5f88f5b
0.8.0
2019-04-16 21:46:35 +02:00
Mislav Marohnić
4491e120a1
Bring back copy Markdown to clipboard functionality
...
This was enabled by default, but didn't work perfectly for our
use-cases. This brings it back in off-by-default mode so it can be
enabled and experimented with.
Basically undoes 550e43a3d8
2019-04-16 21:46:35 +02:00
Mislav Marohnić
5f74a7c810
eslint ALL the files
2019-04-16 21:46:35 +02:00
Mislav Marohnić
e64f4f96cc
Merge pull request #10 from github/preserve-markup
...
Quote markdown tweaks
2019-04-16 21:12:59 +02:00
Mislav Marohnić
8b7ccc035d
Document `quote-selection-markdown`
2019-04-16 19:39:40 +02:00
Mislav Marohnić
1a806d8663
Install with options rather than reading `data-quote-markdown` attribute
...
Example use to enable quoting markdown syntax:
install(el, {
quoteMarkdown: true,
scopeSelector: '.js-comment-body'
})
This ensures all configuration comes from programmatic use of this
module, rather than inferring it from special DOM attributes.
2019-04-11 18:37:51 +02:00
Mislav Marohnić
5363a773e1
Remove GitHub-specific syntax, fire `quote-selection-markdown` event
...
Selection-to-Markdown logic no longer handles:
- `<div class="highlight"><pre>`
- `<a href="..." class="user-mention">@monalisa</a>`
- `<a href="..." class="team-mention">@github/octocats</a>`
- `<a href="..." class="issue-link">#123</a>`
- `<img alt="👋 " class="emoji" src="...">`
- `<div class="js-suggested-changes-blob">`
- `<div class="blob-wrapper-embedded">`
The `quote-selection-markdown` now gets fired on the container element
and publishes a reference to `fragment` which can be used to inject
site-specific syntaxes before the selection is converted to text.
2019-04-11 16:42:23 +02:00
Mislav Marohnić
4f8032518c
Handle suggested changes and blob snippets in markdown
...
- Suggested Changes blocks are ignored when quoting markdown
- blob snippets are quoted simply as the original link that generated
the snippet
2019-04-10 14:39:06 +02:00
Mislav Marohnić
75f7b81e48
Preserve strikethrough when quoting markdown
2019-04-10 11:28:16 +02:00
David Graham
8d4ebd0e76
0.7.0
2019-03-01 13:49:39 -07:00
David Graham
550e43a3d8
Remove markdown copy to clipboard
...
There are many cross-browser issues with undo and newline handling once
we opt into managing the clipboard contents with custom behavior. So
disable this feature for now.
2019-03-01 13:45:58 -07:00
David Graham
f5bca33cdf
0.6.0
2019-02-26 10:23:43 -07:00
David Graham
f442bb902d
Merge pull request #9 from github/clipboard-mime-type
...
Copy markdown to clipboard with custom mime type
2019-02-26 10:22:37 -07:00
David Graham
36bca07d02
Copy markdown to clipboard with custom mime type
...
Plain text is also copied to the clipboard for pasting into external
apps, like a terminal or code editor. Paste listeners within the site
can detect the text/x-gfm mime type and choose to paste the markdown
formatted selection instead.
2019-02-25 16:41:03 -07:00