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

Run markdown & code cell at the same time #2285

Closed
Light-dev-mac opened this issue Feb 19, 2020 · 1 comment
Closed

Run markdown & code cell at the same time #2285

Light-dev-mac opened this issue Feb 19, 2020 · 1 comment

Comments

@Light-dev-mac
Copy link

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description

In Original jupiter notebook,
markdown & code cells cannot be
run at the same time.
It is very ineffect when we want to
write breaf comment.
So, I suggest function described
in the title.

For example,
#%% # markdown-comment
code

This cell run markdown-comment and
code at the same time.

How about it?

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

@rchiodo
Copy link
Contributor

rchiodo commented Feb 19, 2020

Actually this already works. If you put code into a 'markdown' cell, we automatically split it when running into two different cells.

For example, this cell:

#%% [markdown]
# # Header of Cell
print('inside markdown cell')

Generates the following output:
image

@rchiodo rchiodo closed this as completed Feb 19, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 28, 2020
@microsoft microsoft unlocked this conversation Nov 13, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants