Skip to content
Permalink
Browse files

Hint that you can use raw strings as topics

  • Loading branch information...
dunglas committed Oct 7, 2019
1 parent 9cfd207 commit 221a9dc20d3ec0e037ebc6b4898811fec0e246f8
Showing with 3 additions and 2 deletions.
  1. +2 −1 public/app.js
  2. +1 −1 public/index.html
@@ -42,7 +42,8 @@
}, null, 2);

document.getElementById('subscribeTopicsExamples').innerText = `${origin}/demo/novels/{id}.jsonld
${defaultTopic}`;
${defaultTopic}
foo`;
});

// Discover
@@ -115,7 +115,7 @@ <h1 class="title is-2">Subscribe</h1>
</div>

<p class="help">
One <a href="https://tools.ietf.org/html/rfc6570">URI template</a> per line (<a href="https://uri-template-tester.mercure.rocks/">try the tester</a>).<br>
One <a href="https://tools.ietf.org/html/rfc6570">URI template</a> or string per line (<a href="https://uri-template-tester.mercure.rocks/">try the tester</a>).<br>
Examples:
<pre><code id="subscribeTopicsExamples"></code></pre><br>
</p>

0 comments on commit 221a9dc

Please sign in to comment.
You can’t perform that action at this time.