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

Naming of repl block adds number by default #270

Open
tlienart opened this issue Sep 20, 2023 · 0 comments
Open

Naming of repl block adds number by default #270

tlienart opened this issue Sep 20, 2023 · 0 comments

Comments

@tlienart
Copy link
Owner

julia> s = """
       ```!foo
       x = 5
       ```

       ```>bar
       y = x + 2
       ```
       """
"```!foo\nx = 5\n```\n\n```>bar\ny = x + 2\n```\n"

julia> println(html(s))
[ Info:   ⏯️  evaluating cell foo...
[ Info:   ⏯️  evaluating cell bar_1...
<pre><code class="julia">x = 5</code></pre>
<pre><code class="julia-repl"><span class="sgr32"><span class="sgr1">julia&gt;</span></span> y = x + 2
7
</code></pre>

Second one is called bar_1, the mechanism to add _k should not be triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant