Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] Track changes made in this fork #9

Draft
wants to merge 206 commits into
base: upstream
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
be9273f
Use vscode tasks v 2.0
kachkaev Mar 26, 2018
6927adb
Add lint and format scripts like in mume; install corresponding depen…
kachkaev Mar 26, 2018
f1b8b2d
Turn off prettier for test/*.md for now
kachkaev Mar 26, 2018
64c7ab7
Prettify and slightly refactor code so that "npm run lint" passes
kachkaev Mar 26, 2018
b61a5bb
Re-generate files in out
kachkaev Mar 26, 2018
7d05017
Update LICENSE to reflect contributions from @gicentre
kachkaev Mar 28, 2018
76eb949
Update package details in package.json
kachkaev Mar 28, 2018
fc8740d
Update README and cleanup
kachkaev Mar 28, 2018
df546a7
Merge from shd101wyy/markdown-preview-enhanced/pull/832
kachkaev Mar 28, 2018
d56cc5f
Update mume dependency with its fork and fix repo url
kachkaev Mar 28, 2018
281c5e4
Update Atom package name
kachkaev Mar 28, 2018
2bf925c
Report linting messages from mume-with-litvis
kachkaev Mar 28, 2018
1e32a65
Update out files
kachkaev Mar 28, 2018
d801ffc
Prepare 0.1.0 release
kachkaev Mar 28, 2018
7e11c69
Fix menus and upgrade mume-with-litvis
kachkaev Mar 28, 2018
6d6d38e
Disable code chunk execution by default
kachkaev Mar 28, 2018
71c9ea2
Prepare 0.1.1 release
kachkaev Mar 28, 2018
4f082a9
Fix package name in menu
kachkaev Mar 28, 2018
9861485
Prepare 0.1.2 release
kachkaev Mar 28, 2018
311beb2
Improve setup instructions in README
kachkaev Mar 29, 2018
3de815a
Remove brackets in README header around litvis
kachkaev Mar 29, 2018
c648a9b
Upgrade mume-with-litvis to 0.2.0 (support vega)
kachkaev Apr 13, 2018
d7a04bf
Prepare 0.2.0 release
kachkaev Apr 13, 2018
55c3d9f
Upgrade mume-with-litvis to 0.2.1
kachkaev Apr 14, 2018
8e38658
Prepare 0.2.1 release
kachkaev Apr 14, 2018
26c0b68
Update mume
kachkaev Apr 15, 2018
0849ce0
Remove call to runAllCodeChunks()
kachkaev Apr 15, 2018
553f774
Prepare 0.3.0 release
kachkaev Apr 15, 2018
5cc7e2c
Bump mume-with-litvis
kachkaev Apr 15, 2018
c3d13c2
Prepare 0.3.2 release
kachkaev Apr 15, 2018
b2acf1b
Upgrade mume-with-litvis to 0.3.3
kachkaev Apr 19, 2018
2709a4e
Prepare 0.3.3 release
kachkaev Apr 19, 2018
85244d2
Upgrade mume-with-litvis to 0.3.4 to fix narrative schema rendering
kachkaev Apr 20, 2018
5a9d29a
Prepare 0.3.4 release
kachkaev Apr 20, 2018
268bce8
Upgrade mume-with-litvis to 0.4.0
kachkaev Apr 24, 2018
a658db7
Prepare 0.4.0 release
kachkaev Apr 24, 2018
281ed88
Upgrade mume-with-litvis
kachkaev Apr 24, 2018
a7125f3
Prepare 0.4.1 release
kachkaev Apr 24, 2018
ee9f0aa
Do not require to install run-elm globally
kachkaev Apr 25, 2018
deff95e
Upgrade vega, vega-lite and vega-embed
kachkaev Apr 25, 2018
b535837
Prepare 0.5.0 release
kachkaev Apr 25, 2018
090f367
Upgrade mume-with-litvis to 0.5.1
kachkaev Apr 26, 2018
646f8d4
Add CHANGELOG
kachkaev Apr 26, 2018
76afda5
Prepare 0.5.1 release
kachkaev Apr 26, 2018
b540577
Upgrade mume-with-litvis to 0.5.2 and update CHANGELOG
kachkaev Apr 26, 2018
58daf42
Prepare 0.5.2 release
kachkaev Apr 26, 2018
a179752
Upgrade mume-with-litvis to 0.5.3
kachkaev Apr 26, 2018
925af0c
Prepare 0.5.3 release
kachkaev Apr 26, 2018
e483033
Upgrade mume-with-litvis to 0.5.4
kachkaev Apr 26, 2018
e063964
Prepare 0.5.4 release
kachkaev Apr 26, 2018
39fa6a2
Upgrade mume-with-litvis to 0.5.5
kachkaev Apr 26, 2018
f0b4fe1
Prepare 0.5.5 release
kachkaev Apr 26, 2018
6bc8fe3
Upgrade mume-with-litvis to 0.5.6
kachkaev Apr 27, 2018
5523709
Prepare 0.5.6 release
kachkaev Apr 27, 2018
b67f93c
Merge commit 'f15a17ed60c492f095d927f1a0f0857a27c2e8d1' from upstream…
kachkaev Apr 27, 2018
e89200b
Use atom-package-deps
kachkaev Apr 27, 2018
6fd871e
Update CHANGELOG
kachkaev Apr 27, 2018
4b25a08
Update Prettier rules for markdown
kachkaev Apr 27, 2018
7b56e30
Prepare 0.6.0 release
kachkaev Apr 27, 2018
0dd9a62
Suggest installing dependencies of `linter-ui-default` too to reduce …
kachkaev Apr 27, 2018
3352bcb
Prepare 0.6.1 release
kachkaev Apr 27, 2018
52258b6
Upgrade mume-with-litvis to 0.6.0 and describe changes in CHANGELOG
kachkaev May 2, 2018
7a25f74
Prepare 0.7.0 release
kachkaev May 2, 2018
bd504e7
Update mume-with-litvis to 0.6.1
kachkaev May 2, 2018
bf1923b
Prepare 0.7.1 release
kachkaev May 2, 2018
faef26f
Update mume-with-litvis to 0.6.1
kachkaev May 10, 2018
5c193c5
Prepare 0.7.2 release
kachkaev May 10, 2018
ccfcb52
Update mume-with-litvis to 0.6.2
kachkaev May 13, 2018
1a8832d
Prepare 0.7.3 release
kachkaev May 13, 2018
fb7d564
Update mume-with-litvis to 0.6.5
kachkaev May 14, 2018
d52b252
Prepare 0.7.4 release
kachkaev May 14, 2018
d5ed52a
Update mume-with-litvis to 0.6.6
kachkaev May 19, 2018
53a983b
Prepare 0.7.5 release
kachkaev May 19, 2018
03074ff
Update mume-with-litvis to 0.6.7
kachkaev May 19, 2018
08ce096
Prepare 0.7.6 release
kachkaev May 19, 2018
ac9001a
Update mume-with-litvis to 0.6.8
kachkaev May 19, 2018
8c6ab05
Prepare 0.7.7 release
kachkaev May 19, 2018
4252d3b
Update mume-with-litvis to 0.6.9
kachkaev May 19, 2018
1d3b41a
Prepare 0.7.8 release
kachkaev May 19, 2018
d864727
Update mume-with-litvis to 0.7.0
kachkaev Jun 24, 2018
e9632ec
Prepare 0.7.9 release
kachkaev Jun 24, 2018
c08c880
Update mume-with-litvis to 0.8.0
kachkaev Jul 15, 2018
75dac08
Prepare 0.8.0 release
kachkaev Jul 15, 2018
405e018
Update mume-with-litvis to 0.9.0
jwoLondon Aug 14, 2018
7024932
Prepare 0.9.0 release
jwoLondon Aug 14, 2018
24e5c96
Update CHANGELOG
kachkaev Oct 13, 2018
b9dc2f7
Upgrade mume-with-litvis to 0.10.0
kachkaev Oct 13, 2018
28211cd
Prepare 0.10.0 release
kachkaev Oct 13, 2018
43dc89e
Upgrade mume-with-litvis to 0.11.0
kachkaev Nov 19, 2018
e83f8cc
Create CHANGELOG for 0.11.0
kachkaev Nov 19, 2018
3c9e4f4
Prepare 0.11.0 release
kachkaev Nov 19, 2018
5136bbd
Upgrade mume-with-litvis to 0.12.0 and prepare CHANGELOG
kachkaev Dec 20, 2018
1636e45
Prepare 0.12.0 release
kachkaev Dec 20, 2018
934c2f3
Upgrade mume-with-litvis to 0.12.1
kachkaev Dec 21, 2018
eb1d757
Prepare 0.12.1 release
kachkaev Dec 21, 2018
5a557ff
Switch to TypeScript 3
kachkaev Dec 23, 2018
1e48b1b
Upgrade mume-with-litvis to 0.13.0 and prepare CHANGELOG
kachkaev Dec 23, 2018
596fd93
Prepare 0.13.0 release
kachkaev Dec 23, 2018
e443530
Upgrade mume-with-litvis to 0.14.0 and prepare CHANGELOG
kachkaev Mar 6, 2019
9f7a92e
Upgrade Prettier and reformat files
kachkaev Mar 6, 2019
377c507
Prepare 0.14.0 release
kachkaev Mar 6, 2019
3ea0114
Add a command to clear litvis cache
kachkaev Mar 17, 2019
6e8b4d4
Upgrade mume-with-litvis to 0.14.1 and add items to CHANGELOG
kachkaev Mar 17, 2019
86e7363
Prepare 0.15.0 release
kachkaev Mar 17, 2019
5f95c37
Upgrade mume-with-litvis
kachkaev Mar 22, 2019
f3bc0b6
Prepare 0.15.1 release
kachkaev Mar 22, 2019
6af6ea5
Upgrade mume-with-litvis
kachkaev Mar 26, 2019
572072e
Prepare 0.15.2 release
kachkaev Mar 26, 2019
2c2b469
Prepare 0.15.3 release
kachkaev Apr 29, 2019
9eb44d7
Prepare 0.15.3 release
kachkaev Apr 29, 2019
ebf9c8b
Upgrade mume-with-litvis
kachkaev May 26, 2019
53f9442
Prepare 0.16.0 release
kachkaev May 26, 2019
33f4487
Merge commit '8115cd7eac8cd4377a7cbe935175be53348bb97f' into sync-wit…
kachkaev Sep 22, 2019
a79cd05
Further simplify diff
kachkaev Sep 22, 2019
3ce3365
Remove conflict
kachkaev Sep 22, 2019
5242b15
Fix command namespace
kachkaev Sep 22, 2019
983b7da
Further minimise diff and rebuild
kachkaev Sep 22, 2019
452d472
Cleanu-up out directory
kachkaev Sep 22, 2019
1a48529
Fix package metadata
kachkaev Sep 22, 2019
1b16fa3
Upgrade typings and dependenies
kachkaev Sep 29, 2019
b0b8fa6
Merge pull request #1 from gicentre/sync-with-upstream
kachkaev Sep 29, 2019
86f9f4e
Prepare CHANGELOG
kachkaev Sep 29, 2019
075578b
Prepare v0.17.0 release
kachkaev Sep 29, 2019
5cc0e94
Prepare 0.18.0 release
kachkaev Sep 30, 2019
2fc13b8
Prepare v0.18.0 release
kachkaev Sep 30, 2019
f5db9aa
Simplify instructions in README
kachkaev Oct 2, 2019
451cfb7
Merge commit 'a3e21c072635c6b910261c0159fbfb61ac65e6d1'
kachkaev Oct 29, 2019
e4f426e
Fix fix:tslint
kachkaev Oct 29, 2019
358bedc
Rebuild
kachkaev Oct 29, 2019
3b4a202
Update mume-with-litvis and CHANGELOG
kachkaev Oct 29, 2019
1317d57
Prepare v0.19.0 release
kachkaev Oct 29, 2019
db54fe6
Update mume-with-litvis and CHANGELOG, also remove yarn.lock for cons…
kachkaev Nov 9, 2019
2ca3eaf
Prepare v0.20.0 release
kachkaev Nov 9, 2019
3fdf5ca
Run npm audit fix
kachkaev Dec 12, 2019
e55c9f8
Upgrade mume-with-litvis to 0.19.1, update CHANGELOG
kachkaev Dec 12, 2019
4a6efc1
Prepare v0.20.1 release
kachkaev Dec 12, 2019
3275eaf
Upgrade mume-with-litvis to 0.20.0, update CHANGELOG
rhenkin Feb 4, 2020
cc81878
Prepare v0.21.0 release
rhenkin Feb 4, 2020
c57d408
Upgrade mume-with-litvis to 0.21.0, update CHANGELOG
rhenkin Feb 17, 2020
2a3d623
Prepare v0.22.0 release
rhenkin Feb 17, 2020
f57b114
Upgrade mume-with-litvis to 0.22.0, update CHANGELOG
rhenkin Mar 9, 2020
ee014c0
Prepare v0.23.0 release
rhenkin Mar 9, 2020
8d46727
Upgrade mume-with-litvis to 0.23.0, CHANGELOG
rhenkin Mar 23, 2020
f7456bb
Prepare v0.24.0 release
rhenkin Mar 23, 2020
b6564fd
Upgrade mume-with-litvis to 0.24.0, update CHANGELOG
kachkaev Apr 11, 2020
07d5eac
Prepare v0.25.0 release
kachkaev Apr 11, 2020
955f89c
Upgrade mume-with-litvis to 0.25.0, update CHANGELOG
kachkaev Jun 14, 2020
7398788
Prepare v0.26.0 release
kachkaev Jun 14, 2020
3248772
Upgrade mume-with-litvis to 0.26.0, update CHANGELOG
kachkaev Aug 9, 2020
ba18693
Prepare v0.27.0 release
kachkaev Aug 9, 2020
91d8282
Merge remote-tracking branch 'upstream/master' into sync-with-upstrea…
kachkaev Aug 16, 2020
967d095
Minor cleanup
kachkaev Aug 16, 2020
7cb906a
Merge remote-tracking branch 'upstream/master' into sync-with-upstrea…
kachkaev Aug 22, 2020
63aaa17
Update yarn.lock
kachkaev Aug 22, 2020
20537de
Update build
kachkaev Aug 22, 2020
ec3bbd9
Try marking files in out as generated to suppress diffs on Github
kachkaev Aug 22, 2020
5b28044
Merge pull request #2 from gicentre/sync-with-upstream-202008
kachkaev Aug 22, 2020
4505b66
Upgrade mume-with-litvis to 0.27.0, update CHANGELOG
kachkaev Aug 22, 2020
f53930f
Prepare v0.28.0 release
kachkaev Aug 22, 2020
51206f2
Bump deps and prepare changelog
kachkaev Sep 6, 2020
9f4f1ca
Fix linting issues in docs
kachkaev Sep 6, 2020
4687ebd
Prepare v0.29.0 release
kachkaev Sep 6, 2020
b906a29
Upgrade mume-with-litvis to 0.29.0, update CHANGELOG
kachkaev Oct 19, 2020
6a83989
Prepare v0.30.0 release
kachkaev Oct 19, 2020
c5b9804
Upgrade mume-with-litvis to 0.30.0, update CHANGELOG
kachkaev Jan 9, 2021
8b16dcc
Merge commit 40cd17e5 from upstream
kachkaev Jan 9, 2021
f80d377
Prepare v0.31.0 release
kachkaev Jan 9, 2021
05f7519
Upgarde mume-with-litvis and prepare CHANGELOG
kachkaev Jan 24, 2021
513de2a
Prepare v0.32.0 release
kachkaev Jan 24, 2021
213f192
Bump handlebars from 4.7.6 to 4.7.7 (#3)
dependabot[bot] May 8, 2021
a513465
Bump lodash from 4.17.20 to 4.17.21 (#4)
dependabot[bot] May 8, 2021
03c55e7
Upgrade netmask by switching to latest urllib
kachkaev May 8, 2021
3d5b2ef
Upgarde mume-with-litvis and prepare CHANGELOG
kachkaev May 9, 2021
5f4bd7c
Prepare v0.33.0 release
kachkaev May 9, 2021
3032c80
Fix apache arrow loader
kachkaev May 23, 2021
e9903eb
Prepare v0.33.1 release
kachkaev May 23, 2021
3b710ed
Bump ws from 6.2.1 to 6.2.2 (#5)
dependabot[bot] Jun 6, 2021
10554eb
Bump path-parse from 1.0.6 to 1.0.7 (#6)
dependabot[bot] Aug 13, 2021
8a38f5b
Bump semver-regex from 3.1.2 to 3.1.3 (#7)
dependabot[bot] Sep 21, 2021
305acac
Merge remote-tracking branch 'upstream/master' into upgrade-dependenc…
kachkaev Oct 9, 2021
55d2b67
Upgrade mume-with-litvis, reset yarn.lock
kachkaev Oct 9, 2021
ffd915e
Update clearCache() function
kachkaev Oct 9, 2021
6d30e65
Update CHANGELOG
kachkaev Oct 9, 2021
f59ee3e
Tweak config key
kachkaev Oct 9, 2021
21f5dbd
Merge pull request #8 from gicentre/upgrade-dependencies-2021-09
kachkaev Oct 9, 2021
8bc514a
Prepare v0.34.0 release
kachkaev Oct 9, 2021
133ff8f
Bump vm2 from 3.9.3 to 3.9.5 (#10)
dependabot[bot] Oct 19, 2021
6a97750
Bump shelljs from 0.8.4 to 0.8.5 (#11)
dependabot[bot] Jan 15, 2022
00e6998
Bump vm2 from 3.9.5 to 3.9.7 (#12)
dependabot[bot] Feb 15, 2022
ee9fbb0
Bump node-fetch from 2.6.5 to 2.6.7 (#13)
dependabot[bot] Feb 15, 2022
646165b
Bump semver-regex from 3.1.3 to 3.1.4 (#15)
dependabot[bot] Jun 4, 2022
6c900af
Bump vm2 from 3.9.7 to 3.9.11 (#16)
dependabot[bot] Sep 28, 2022
13c1096
Bump minimatch from 3.0.4 to 3.1.2 (#17)
dependabot[bot] Nov 12, 2022
3ea7106
Bump minimist from 1.2.5 to 1.2.7 (#18)
dependabot[bot] Nov 12, 2022
c9b5fe0
Bump qs from 6.5.2 to 6.5.3 (#19)
dependabot[bot] Dec 16, 2022
38f68e7
Bump fast-json-patch from 3.1.0 to 3.1.1 (#20)
dependabot[bot] Dec 31, 2022
e0ad0d7
Bump vega from 5.21.0 to 5.23.0 (#21)
dependabot[bot] Mar 3, 2023
7e727e8
Bump vm2 from 3.9.11 to 3.9.15 (#22)
dependabot[bot] Apr 7, 2023
c3a57bc
Bump vm2 from 3.9.15 to 3.9.16 (#23)
dependabot[bot] Apr 13, 2023
ee64118
Bump vm2 from 3.9.16 to 3.9.17 (#24)
dependabot[bot] Apr 20, 2023
96969f4
Bump vm2 from 3.9.17 to 3.9.18 (#25)
dependabot[bot] May 15, 2023
f6857d7
Bump semver from 5.7.1 to 5.7.2 (#26)
dependabot[bot] Jul 11, 2023
fa2f351
Bump word-wrap from 1.2.3 to 1.2.4 (#27)
dependabot[bot] Jul 19, 2023
81f3652
Bump ip from 1.1.5 to 1.1.9 (#29)
dependabot[bot] Feb 21, 2024
19bb0c8
Bump braces from 3.0.2 to 3.0.3 (#30)
dependabot[bot] Jun 16, 2024
2d1b88b
Bump micromatch from 4.0.4 to 4.0.8 (#32)
dependabot[bot] Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
out/**/* linguist-generated
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
npm-debug.log
yarn-error.log
175 changes: 175 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
## 0.34.0

- Sync fork with the upstream `mume` library
- Upgrade vega to 5.21.0, vega-lite to 5.1.1, vega-embed to 6.19.1 and vega-loader to 4.4.1
- Upgrade some auxiliary dependencies and make a few small refactors

## 0.33.1

- Fix apache arrow loader

## 0.33.0

- Upgrade `vega-lite` from v4 to v5
- Change how `vega`, `vega-embed`, `vega-lite`, `vega-loader`, `loader-arrow` and `apache-arrow` are embedded.
The versions are no longer pinned.
To upgrade to the latest version in the curren semver major band, all you need is to reinstall the extension.

## 0.32.0

- Upgrade vega to 5.19.1
- Upgrade `immer` to 8.0.1 to mitigate [CVE-2020-28477](https://nvd.nist.gov/vuln/detail/CVE-2020-28477)

## 0.31.0

- Upgrade vega to 5.18.0, vega-embed to 6.15.0, apache-arrow to 2.0.0 and vega-loader-arrow to 0.0.9

## 0.30.0

- Upgrade vega to 5.17.0, vega-lite to 4.17.0 and vega-embed to 6.12.2

## 0.29.0

- Upgrade vega to 5.15.0 and vega-lite to 4.15.0
- Fix caching issue (<https://github.com/gicentre/litvis/issues/47>)
- Bump dependencies

## 0.28.0

- Sync this fork with the upstream project
- Upgrade vega to 5.14.0 and vega-embed to 6.11.1, fix CDN vega versions

## 0.27.0

- Upgrade vega-lite to 4.14.1 and vega-embed to 6.10.0

## 0.26.0

- Upgrade vega to 5.13.0, vega-lite to 4.13.1 and vega-embed to 6.9.0

## 0.25.0

- Upgrade vega to 5.10.1, vega-lite to 4.10.2 and vega-embed to 6.5.2

## 0.24.0

- Upgrade vega-lite to 4.8.1 and vega-embed to 6.5.1

## 0.23.0

- Upgrade vega to 5.10.0, vega-lite to 4.5.1, vega-embed to 6.3.2 and apache-arrow to 0.16.0

## 0.22.0

- Upgrade vega-lite to 4.3.1

## 0.21.0

- Upgrade vega to 5.9.1, vega-lite to 4.1.1 and vega-embed to 6.2.2

## 0.20.1

- Upgrade vega to 5.9.0, vega-lite to 4.0.0 and vega-embed to 6.2.1

## 0.20.0

- Upgrade vega-lite to 4.0.0-beta.11, fix outdated vega versions in CDN links (affects interactive mode only)

## 0.19.0

- Fix compatibility with Atom 1.41
- Update apache-arrow to 0.15.0, vega to 5.7.3, vega-lite to 4.0.0-beta.10 and vega-embed to 6.0.0

## 0.18.0

- Upgrade vega to 5.7.0, vega-lite to 4.0.0-beta.8, vega-embed to 5.1.3 and vega-loader-arrow to 0.14.1

## 0.17.0

- Sync with upstream package to resolve various issues in the latest versions of editors (<https://github.com/gicentre/markdown-preview-enhanced-with-litvis/pull/1>)

## 0.16.0

- Upgrade vega to 5.4.0 and vega-embed to 4.2.0
- Support apache-arrow files in vega specs (<https://github.com/gicentre/litvis/issues/31>)
- Fix incorrect parsing of keys in elm string representation (<https://github.com/gicentre/litvis/issues/29#issuecomment-496008915>)

## 0.15.3

- Upgrade vega to 5.3.5 and vega-lite to 3.2.1
- \[elm-string-representation] Allow any strings in keys except `" = "`

## 0.15.2

- Upgrade vega to 5.3.2, vega-lite to 3.0.2 and vega-embed to 4.0.0
- Use JSDelivr as lib CDN instead of CloudFlare

## 0.15.1

- Downgrade vega from 5.3.0 to 5.1.0 to avoid `Error: Cycle detected in dataflow graph`

## 0.15.0

- New command: _Markdown Preview Enhanced with Litvis: Clear Cache_ (useful when need to upgrade Elm dependencies or when cache is corrupt)
- Fix a number of regressions in Elm output parsing and URL fetching
- Improve error handling in a couple of edge cases
- Upgrade vega to 5.3.0

## 0.14.0

- Upgrade vega to 5.0.0, vega-lite to 3.0.0-rc14 and vega-embed to 4.0.0-rc1 ([gicentre/mume-with-litvis#11bc9651](https://github.com/gicentre/mume-with-litvis/commit/11bc96514feedadd7e125398f3fee3fc5ff3a630))

## 0.13.0

- Add ability to highlight lines of code ([gicentre/litvis#9](https://github.com/gicentre/litvis/issues/9), [shd101wyy/mume#100](https://github.com/shd101wyy/mume/pull/100), [mume-with-litvis#5074ca39](https://github.com/gicentre/mume-with-litvis/commit/5074ca39a24ff86ef8ddc63c35f33b212e2da984))

## 0.12.0

- Upgrade vega to 4.4.0, vega-lite to 3.0.0-rc10 and vega-embed to 3.26.1 ([gicentre/mume-with-litvis#429dcf63](https://github.com/gicentre/mume-with-litvis/commit/429dcf6370191cfc8b421923a6283d4f7bdc7625))

- Fix a few minor bugs ([gicentre/litvis#11](https://github.com/gicentre/litvis/issue/11),
[gicentre/litvis#12](https://github.com/gicentre/litvis/issue/12),
[gicentre/litvis#13](https://github.com/gicentre/litvis/issue/13),
[gicentre/litvis#14](https://github.com/gicentre/litvis/issue/14),
[gicentre/litvis#15](https://github.com/gicentre/litvis/issue/15),
[gicentre/litvis#16](https://github.com/gicentre/litvis/issue/16),
[gicentre/litvis#17](https://github.com/gicentre/litvis/issue/17))

## 0.11.0

- Implement markdown output from litvis blocks ([gicentre/litvis#10](https://github.com/gicentre/litvis/pull/10))

## 0.10.0

- **Switch to Elm 0.19**. Elm 0.18 users please use version 0.9.0 of this atom package (`apm install [email protected]`)
- Upgrade vega to 4.3.0, vega-lite to 3.0.0-rc6 and vega-embed to 3.20.0

## 0.9.0

- Upgrade vega to 4.2.0, Vega-Lite to 3.0.0-rc3 and vega-embed to 3.18.2

## 0.7.0

- Improve parsing of narrative schemas, support label aliases and fix rules

## 0.6.1

- Suggest installing dependencies of `linter-ui-default` too to reduce the number of clicks by user

## 0.6.0

- Use `atom-package-deps` to prompt about installing `linter-ui-default`
- Merge from upstream to use better config defaults

## 0.5.2-0.5.6

- Fix path detection for elm binaries

## 0.5.1

- Use a local copy of `elm` to avoid its setup via npm
- use an OS-specific temp directory (`echo $TMPDIR`) instead of hard-coded `/tmp/literate-elm`

## 0.5.0

- Upgrade `vega` to `3.3.1`, `vega-lite` to `2.4.0` and `vega-embed` to `3.7.2` ([shd101wyy/mume#65](https://github.com/shd101wyy/mume/pull/65)).
40 changes: 40 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
# litvis

_contributions by https://github.com/orgs/gicentre/people_

BSD 3-Clause License

```
Copyright (c) 2017-present, giCentre, City University London
All rights reserved.
```

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

- Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# original markdown-preview-enhanced

_https://github.com/shd101wyy/markdown-preview-enhanced_

University of Illinois/NCSA
Open Source License

Expand Down
122 changes: 65 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,83 +1,91 @@
<h1 align="center"> Markdown Preview Enhanced </h1>
<p align="center">
<a href="https://github.com/shd101wyy/markdown-preview-enhanced/releases"><img src="https://img.shields.io/github/tag/shd101wyy/markdown-preview-enhanced.svg"></a>
<a href="https://github.com/shd101wyy/markdown-preview-enhanced"><img src="https://img.shields.io/apm/dm/markdown-preview-enhanced.svg"></a>
<a href="https://github.com/shd101wyy/markdown-preview-enhanced"><img src="https://img.shields.io/github/stars/shd101wyy/markdown-preview-enhanced.svg?style=social&label=Star"></a>
</p>
<br>
# Atom `markdown-preview-enhanced` with [litvis](http://litvis.org/)

![intro](https://user-images.githubusercontent.com/1908863/28227953-eb6eefa4-68a1-11e7-8769-96ea83facf3b.png)
This project is a fork of [`markdown-preview-enhanced`](https://github.com/shd101wyy/markdown-preview-enhanced), which is a popular [Atom package](https://atom.io/packages/markdown-preview-enhanced) for previewing markdown files.
Most of the code in this fork is inherited from the upstream repository and is thus courtesy of [@shd101wyy](https://github.com/shd101wyy) and other [contributors](https://github.com/shd101wyy/markdown-preview-enhanced/graphs/contributors) to `markdown-preview-enhanced`.

<p align="center">
<a href="https://shd101wyy.github.io/markdown-preview-enhanced/#/"> English &nbsp;&nbsp; </a>
<a href="https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-cn/"> 简体中文 &nbsp;&nbsp; </a>
<a href="https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-tw/"> 正體中文 &nbsp;&nbsp; </a>
<a href="https://shd101wyy.github.io/markdown-preview-enhanced/#/ja-jp/"> 日本語 &nbsp;&nbsp; </a> <br>
</p>
The fork produces an Atom package called [`markdown-preview-enhanced-with-litvis`](https://atom.io/packages/markdown-preview-enhanced-with-litvis), which enables _Literate Visualisation_ ([litvis](http://litvis.org/)) in rendered markdown previews.

<p align="center">
<a href="https://atom.io/packages/markdown-preview-enhanced">atom</a>
&
<a href="https://marketplace.visualstudio.com/items?itemName=shd101wyy.markdown-preview-enhanced">vscode</a>
</p>
Litvis functionality has been designed and developed at [giCentre](https://www.gicentre.net/) by [Jo Wood](https://github.com/jwoLondon), [Alexander Kachkaev](https://github.com/kachkaev) and [Jason Dykes](https://github.com/jsndyks).
This research was in part supported by the EU under the EC Grant Agreement No. FP7-IP-608142 to Project [VALCRI](http://valcri.org/).

If you are interested, please also try out our new prototype web app: [0xGG/crossnote](https://github.com/0xGG/crossnote)
## Prerequisites

## Supporting this project
Please ensure that you have `elm` installed on your machine before proceeding to the setup.
The following command will ensure that this tool is in place and is up-to-date.

Markdown Preview Enhanced is an open source project released under the [University of Illinois/NCSA Open Source License](LICENSE.md). Its ongoing development is made possible thanks to the support by these awesome [backers](https://shd101wyy.github.io/markdown-preview-enhanced/#/backers). You can help make this project better by [supporting us on GitHub Sponsors](https://github.com/sponsors/shd101wyy), [PayPal](https://shd101wyy.github.io/markdown-preview-enhanced/#/paypal), or [微信支付 Wechat Pay](https://shd101wyy.github.io/markdown-preview-enhanced/#/wechat). Thank you!
```bash
npm install --global elm
```

## Sponsors
If you don’t have npm, please download it as a part of Node.js from https://nodejs.org/.

<p><a title="Try CodeStream" href="https://sponsorlink.codestream.com/?utm_source=vscmarket&amp;utm_campaign=shd101wyy-markdown&amp;utm_medium=banner"><img src="https://alt-images.codestream.com/codestream_logo_shd101wyy-markdown.png"></a></br>
Manage pull requests and conduct code reviews in your IDE with full source-tree context. Comment on any line, not just the diffs. Use jump-to-definition, your favorite keybindings, and code intelligence with more of your workflow.<br> <a title="Try CodeStream" href="https://sponsorlink.codestream.com/?utm_source=vscmarket&amp;utm_campaign=shd101wyy-markdown&amp;utm_medium=banner">Learn More</a></p>
## Setup for Atom users

<br>
### Via Atom’s GUI

<a href="https://github.com/sponsors/shd101wyy">
<img src="https://github.blog/wp-content/uploads/2019/05/mona-heart-featured.png?" width="200"></a><br>
1. Go to _Preferences_ → _Packages_ and disable `markdown-preview` (Atom’s standard preview tool)

These [GitHub Sponsors](https://github.com/sponsors/shd101wyy#sponsors) and [Backers](https://shd101wyy.github.io/markdown-preview-enhanced/#/backers) help push this project forward 🎉.
1. If you are using `markdown-preview-enhanced`, temporary disable it too while you are trying out this fork.

## Introduction
1. Switch to _Install_ section in _Preferences_ and search for `markdown-preview-enhanced-with-litvis`.
Click _Install_ and reload Atom.

Markdown Preview Enhanced is an extension that provides you with many useful functionalities such as automatic scroll sync, [math typesetting](https://shd101wyy.github.io/markdown-preview-enhanced/#/math), [mermaid](https://shd101wyy.github.io/markdown-preview-enhanced/#/diagrams?id=mermaid), [PlantUML](https://shd101wyy.github.io/markdown-preview-enhanced/#/diagrams?id=plantuml), [pandoc](https://shd101wyy.github.io/markdown-preview-enhanced/#/pandoc), PDF export, [code chunk](https://shd101wyy.github.io/markdown-preview-enhanced/#/code-chunk), [presentation writer](https://rawgit.com/shd101wyy/markdown-preview-enhanced/master/docs/presentation-intro.html), etc. A lot of its ideas are inspired by [Markdown Preview Plus](https://github.com/atom-community/markdown-preview-plus) and [RStudio Markdown](http://rmarkdown.rstudio.com/).
### Via command line

Feel free to ask questions, post issues, submit pull request, and request new features.
This section contains shortcut commands for the instructions above.

For more information about this project and how to use this extension, please check out our documentation ⬇︎
```
apm disable markdown-preview
apm disable markdown-preview-enhanced
apm install markdown-preview-enhanced-with-litvis
```

## Documentation
## Getting started with litvis narratives

To check out the documentation, visit
Literate visualization uses [Elm](http://elm-lang.org) and [Vega-Lite](https://vega.github.io/vega-lite) in the form of a declarative visualization language [elm-vega](http://package.elm-lang.org/packages/gicentre/elm-vega/latest).
While you don't have to use elm-vega in a litvis document, it does enable quick declarative generation of interactive data graphics and therefore considerably enhances the capability of a litvis document.

- [English](https://shd101wyy.github.io/markdown-preview-enhanced/#/)
- [简体中文](https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-cn/)
- [正體中文](https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-tw/)
- [日本語](https://shd101wyy.github.io/markdown-preview-enhanced/#/ja-jp/)
Creating your own litvis narrative is as easy as writing a markdown file.
You can start with exploring the examples available at
https://github.com/gicentre/litvis/tree/master/examples.

Contact me if you are willing to help translate the documentation :)
## Formatting litvis narratives

## Keybindings
It is possible to automatically format litvis-enabled markdown files (including Elm code blocks) using [Prettier](https://prettier.io/), which is a popular code formatting tool.

> The <kbd>cmd</kbd> key for _Windows_ is <kbd>ctrl</kbd>.
Prettier is available in Atom via [`prettier-atom`](https://github.com/prettier/prettier-atom) package, but it does not format literate Elm code blocks in markdown files out of the box.

| Shortcuts | Functionality |
| ------------------------------------------- | -------------------------- |
| <kbd>ctrl-shift-m</kbd> | Toggle preview |
| <kbd>ctrl-shift-s</kbd> | Sync preview / Sync source |
| <kbd>shift-enter</kbd> | Run Code Chunk |
| <kbd>ctrl-shift-enter</kbd> | Run all Code Chunks |
| <kbd>cmd-=</kbd> or <kbd>cmd-shift-=</kbd> | Preview zoom in |
| <kbd>cmd--</kbd> or <kbd>cmd-shift-\_</kbd> | Preview zoom out |
| <kbd>cmd-0</kbd> | Preview reset zoom |
| <kbd>esc</kbd> | Toggle sidebar TOC |
Please follow these steps to enable full-featured formatting support for litvis in Atom:

## Changelog
1. Globally install Prettier and its [Elm plugin](https://github.com/gicentre/prettier-plugin-elm) via npm:

Newest updates for the current minor version can be found at the [newest notes](https://shd101wyy.github.io/markdown-preview-enhanced/#/newest).
Detailed changes for each old release can be found at [history notes](https://shd101wyy.github.io/markdown-preview-enhanced/#/history).
```
npm install --global prettier prettier-plugin-elm
```

## License
1. Install `prettier-atom` package via Atom’s _Preferences_ or from a command line:

[University of Illinois/NCSA Open Source License](LICENSE.md)
```bash
apm install prettier-atom
```

1. Enable _Format on save_ in `prettier-atom` package preferences.

## Getting linting feedback for litvis narratives

When a currently opened litvis narrative contains issues such as errors in Elm code blocks, you are automatically shown a list of problems via Atom's built-in linter.

![kapture 2018-03-26 at 21 00 45](https://user-images.githubusercontent.com/608862/37930310-4ba86c40-313a-11e8-99f5-a6b7ac99f38c.gif)

If you have used Atom linting for any programming language before, all the necessary packages should be already installed.
Otherwise, please install Atom packages named [`linter`](https://atom.io/packages/linter), [`linter-ui-default`](https://atom.io/packages/linter-ui-default), [`intentions`](https://atom.io/packages/intentions) and [`busy-signal`](https://atom.io/packages/busy-signal).

You will be prompted to do so when you open a litvis document for the first time.
Alternatively, you can install the packages via Atom’s _Preferences_ or by using the following command:

```bash
apm install linter linter-ui-default intentions busy-signal
```

When you are working on branching litvis narratives or those depending on narrative schemas, you may benefit from going to `linter-ui-default` settings and changing _Panel Represents_ parameter to _Entire project_.
This will make the list of reported issues more informative.
8 changes: 4 additions & 4 deletions keymaps/markdown-preview-enhanced.cson
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# I disabled this because for package like `language-markdown`, the `data-grammer` attribute is different.
# 'atom-workspace atom-text-editor[data-grammar*="gfm"], .platform-win32 atom-workspace atom-text-editor[data-grammar*="gfm"], .platform-linux atom-workspace atom-text-editor[data-grammar="source gfm"], .platform-darwin atom-workspace atom-text-editor[data-grammar="source gfm"]':
'atom-text-editor':
'ctrl-shift-m': 'markdown-preview-enhanced:toggle'
'ctrl-shift-m': 'markdown-preview-enhanced-with-litvis:toggle'

'.editor[data-grammar*="gfm"], .editor[data-grammar*="md"], .editor[data-grammar*="markdown"]':
'shift-enter': 'markdown-preview-enhanced:run-code-chunk'
'ctrl-shift-enter': 'markdown-preview-enhanced:run-all-code-chunks'
'ctrl-shift-s': 'markdown-preview-enhanced:sync-preview'
'shift-enter': 'markdown-preview-enhanced-with-litvis:run-code-chunk'
'ctrl-shift-enter': 'markdown-preview-enhanced-with-litvis:run-all-code-chunks'
'ctrl-shift-s': 'markdown-preview-enhanced-with-litvis:sync-preview'
Binary file removed markdown.png
Binary file not shown.
Loading