nexmo_markdown_renderer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 602526bb4c23634caec1d2f64ccdc7fc233f22e6689e5119f44af6da093cdcd8
|
4
|
+
data.tar.gz: ad8bd68ac0472fd15e428ee380625ded6bfd0348cdd496ba19da65dc058482a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee40af02f55f416a8d370f9ba3b103a9de1914bf2d8bcbc60af8bb2beb29433cb65505ef8509ab360863658c561ae534b5d3df91749c0b35bc8d387c846dff6e
|
7
|
+
data.tar.gz: 6a82418e449c7fd9aed46303179962c458b0e63f46b32b4a1138b244a94bb7409096b4464937e2b23c0239acc8d9f7c57ecd66f6ca4b6a5af966bf38dcf9f4cf
|
@@ -254,7 +254,7 @@ module Nexmo
|
|
254
254
|
lexer = content[:language].lexer
|
255
255
|
highlighted_source = @formatter.format(lexer.lex(content[:source]))
|
256
256
|
body = <<~HEREDOC
|
257
|
-
<pre class="
|
257
|
+
<pre class="Vlt-prism--dark language-#{lexer.tag} Vlt-prism--copy-disabled"><code>#{highlighted_source}</code></pre>
|
258
258
|
HEREDOC
|
259
259
|
|
260
260
|
content.merge!({ body: body })
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div id="acc<%=id %>" class="Vlt-js-accordion__content Vlt-accordion__content Vlt-accordion__content--noborder">
|
7
7
|
<p><%= ::I18n.t('.code_snippets.nexmo_application_contains_html') %></p>
|
8
8
|
<h4><%= ::I18n.t('.code_snippets.install_the_cli') %></h4>
|
9
|
-
<pre class="
|
9
|
+
<pre class="Vlt-prism--dark dependencies command-line Vlt-prism--copy-disabled language-bash" data-prompt='$'><code>npm install -g nexmo-cli</code></pre>
|
10
10
|
|
11
11
|
<h4><%= ::I18n.t('.code_snippets.create_an_app') %></h4>
|
12
12
|
<p><%= ::I18n.t('.code_snippets.once_you_have_the_cli_installed_html') %></p>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<p><%= ::I18n.t('.code_snippets.nexmo_needs_to_connect_html') %></p>
|
16
16
|
<% end %>
|
17
17
|
|
18
|
-
<pre class="
|
18
|
+
<pre class="Vlt-prism--dark dependencies command-line Vlt-prism--copy-disabled language-bash" data-prompt='$'><code>nexmo app:create "<%=app['name'] %>" <%=app['answer_url'] %> <%=app['event_url'] %> --keyfile=private.key --type=rtc</code></pre>
|
19
19
|
|
20
20
|
<h4><%= ::I18n.t('.code_snippets.application_rtc.use_your_existing_app') %></h4>
|
21
21
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<% else %>
|
10
10
|
<p><%= ::I18n.t('.code_snippets.nexmo_application_contains_html') %></p>
|
11
11
|
<h4><%= ::I18n.t('.code_snippets.install_the_cli') %></h4>
|
12
|
-
<pre class="
|
12
|
+
<pre class="Vlt-prism--dark dependencies command-line Vlt-prism--copy-disabled language-bash" data-prompt='$'><code>npm install -g nexmo-cli</code></pre>
|
13
13
|
|
14
14
|
<h4><%= ::I18n.t('.code_snippets.create_an_app') %></h4>
|
15
15
|
<p><%= ::I18n.t('.code_snippets.once_you_have_the_cli_installed_html') %></p>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<p><%= ::I18n.t('.code_snippets.nexmo_needs_to_connect_html') %></p>
|
19
19
|
<% end %>
|
20
20
|
|
21
|
-
<pre class="
|
21
|
+
<pre class="Vlt-prism--dark dependencies command-line Vlt-prism--copy-disabled language-bash" data-prompt='$'><code>nexmo app:create "<%=app['name'] %>" <%=app['answer_url'] %> <%=app['event_url'] %> --keyfile private.key</code></pre>
|
22
22
|
<% end %>
|
23
23
|
</div>
|
24
24
|
</div>
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo_markdown_renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nexmo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: banzai
|