question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possibility of inline code?

See original GitHub issue

I continue to use Jupytext all the time, and here’s another thank you for the huge improvement it has made to my work.

I know this is a fraught question, but I really miss the R notebook ability to put code outputs inline, as in:

```{python}
msg = "Hello"
```

My message is `py msg`.

Do you think there is any way of doing that?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
matthew-brettcommented, May 22, 2020

Well - I think it wouldn’t help me - at the moment - because of the problem of relying on a not-standard plugin. So maybe wait until someone screams on this thread? Maybe that will be me! But not yet.

0reactions
mwoutscommented, May 22, 2020

I see - indeed I like your question, so let’s keep this open and see what we can do on the long term. Also, I was thinking, we’ve discussed R Markdown and ipynb, but maybe there is something that we could for Python files with the f-strings…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why should I ever use inline code? - Stack Overflow
One Definition Rule · 1. Keep in mind that inline functions are guaranteed to have the same semantics as the equivalent non-inlined functions....
Read more >
What is Inline Code? - Definition from Techopedia
Inline code refers to any lines of code that are added in the body of a program. It can be any type of...
Read more >
Inline Functions In C - The Green End Organisation
GNU C inline rules​​ The following possibilities exist: A function defined with inline on its own. Stand-alone object code is always emitted. You...
Read more >
Avoiding The Pitfalls Of Automatically Inlined Code
In this article, we will learn how to load dynamic code through static files instead, avoiding the drawbacks of too much inline code....
Read more >
Add and run JavaScript code snippets by using inline code in ...
The inline code uses the text from the trigger step and replaces the word Portal (with a capital P), with the word portal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found