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

Indentation in Source Code Block #181

Open
zetashift opened this issue Feb 2, 2021 · 0 comments
Open

Indentation in Source Code Block #181

zetashift opened this issue Feb 2, 2021 · 0 comments

Comments

@zetashift
Copy link
Contributor

In a source code block one doesn't get automatic indentation in languages like Python and Nim and F#:

#+BEGIN_SRC python
def foo():          # Now if you press "Enter" here it does not indent

#+END_SRC

But for example in Javascript(and Scala), the extension can indent:

#+BEGIN_SRC javascript
function foo() {X}   // If you go with your cursor to the X and press Enter it will indent
#+END_SRC

Is there a way to get it indentation working in languages like Python?

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

No branches or pull requests

1 participant