-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprov-n-javascript-editor.html
More file actions
106 lines (99 loc) · 6.42 KB
/
Copy pathprov-n-javascript-editor.html
File metadata and controls
106 lines (99 loc) · 6.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://gc.zgo.at https://giscus.app; connect-src 'self' https://trungdong.goatcounter.com; img-src 'self' https://trungdong.goatcounter.com; frame-src https://giscus.app https://player.vimeo.com; style-src 'self' 'unsafe-inline' https://giscus.app; base-uri 'none'; object-src 'none'; form-action 'none'"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="After showing the TextMate PROV-N bundle to my colleagues, one pointed to me the powerful Ace code editor, which comes with tools to facilitate adding a new syntax. I found it even easier to work...">
<meta property="og:site_name" content="Dong Huynh">
<meta property="og:type" content="article">
<meta property="og:title" content="PROV-N Javascript Editor">
<meta property="og:description" content="After showing the TextMate PROV-N bundle to my colleagues, one pointed to me the powerful Ace code editor, which comes with tools to facilitate adding a new syntax. I found it even easier to work...">
<meta property="og:url" content="https://trungdong.github.io/prov-n-javascript-editor.html">
<meta property="og:image" content="https://trungdong.github.io/images/dong.huynh.cover.jpg">
<meta property="article:published_time" content="2014-03-21T10:31:59+00:00">
<meta name="twitter:card" content="summary">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "PROV-N Javascript Editor",
"description": "After showing the TextMate PROV-N bundle to my colleagues, one pointed to me the powerful Ace code editor, which comes with tools to facilitate adding a new syntax. I found it even easier to work...",
"datePublished": "2014-03-21T10:31:59+00:00",
"author": {"@type": "Person", "@id": "https://trungdong.github.io/#person", "name": "Dong Huynh"},
"url": "https://trungdong.github.io/prov-n-javascript-editor.html",
"image": "https://trungdong.github.io/images/dong.huynh.cover.jpg"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"@id": "https://trungdong.github.io/#person",
"name": "Dong Huynh",
"url": "https://trungdong.github.io/",
"image": "https://trungdong.github.io/images/dong.huynh.profile.jpg",
"sameAs": ["https://orcid.org/0000-0003-4937-2473", "https://scholar.google.co.uk/citations?user=d92eou8AAAAJ", "https://github.com/trungdong", "https://www.linkedin.com/in/donghuynh"]
}
</script>
<link rel="alternate" href="https://trungdong.github.io/feeds/all.atom.xml" type="application/atom+xml" title="Dong Huynh Full Atom Feed"/>
<title>PROV-N Javascript Editor // Dong Huynh</title>
<link rel="stylesheet" href="https://trungdong.github.io/theme/css/style.css">
<link rel="stylesheet" href="https://trungdong.github.io/theme/css/pygments.css">
</head>
<body>
<div id="layout">
<div class="sidebar sidebar-article">
<header class="header-article">
<h2 class="article-info"><a href="https://trungdong.github.io/author/dong-huynh.html" title="See posts by Dong Huynh">Dong Huynh</a></h2>
<h3 class="published-label">Published</h3>
<p><time datetime="2014-03-21T10:31:59+00:00">Fri 21 March 2014</time></p>
<a href="/">←Home</a>
</header>
</div>
<div class="main">
<main class="content">
<section class="post">
<header class="post-header">
<h1>PROV-N Javascript Editor</h1>
<p class="post-meta">
// under <a class="post-category" href="https://trungdong.github.io/tag/editor.html">editor</a>
<a class="post-category" href="https://trungdong.github.io/tag/javascript.html">JavaScript</a>
<a class="post-category" href="https://trungdong.github.io/tag/prov-n.html">PROV-N</a>
<a class="post-category" href="https://trungdong.github.io/tag/provenance.html">provenance</a>
<a class="post-category" href="https://trungdong.github.io/tag/syntax-highlighting.html">syntax highlighting</a>
</p>
</header>
</section>
<p>After showing the <a href="https://trungdong.github.io/prov-n-textmate.html">TextMate PROV-N bundle</a> to my colleagues, one pointed to me the powerful <a href="https://ace.c9.io/">Ace code editor</a>, which comes with tools to facilitate adding a new syntax. I found it even easier to work with compared to TextMate's bundle editor. After a day, I managed to port the PROV-N syntax rules to Ace and added some more. This is the result. </p>
<p><img class="pure-img centered" src="https://trungdong.github.io/images/prov-n-js-editor.png" title="PROV-N JavaScript Editor Screenshot" alt="PROV-N JavaScript Editor Screenshot" width="524" height="726"></p>
<p>Try the new <a href="https://openprovenance.org/tools/editor/">PROV-N editor</a> and let me know what you think.</p>
<div class="hr"></div>
<a href="#" class="go-top">Go Top</a>
<div class="comments">
<script src="https://giscus.app/client.js"
data-repo="trungdong/trungdong.github.io"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDY2MTE0Nw=="
data-category="Comments"
data-category-id="DIC_kwDOAmxwm84DFcBh"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
<noscript>Comments are powered by <a href="https://giscus.app">giscus</a> and need JavaScript.</noscript>
</div><footer class="footer">
<p>© Dong Huynh –
Built for <a href="https://getpelican.com/">Pelican</a>
</p>
</footer> </main>
</div>
</div>
<script src="https://trungdong.github.io/theme/js/site.js" defer></script>
<script data-goatcounter="https://trungdong.goatcounter.com/count" async src="https://gc.zgo.at/count.js"></script></body>
</html>