Jump to content
  • 2
PodioSpaz

Losing Indentation With Code Blocks

Idea

When I'm pasting code into code blocks I'm losing my indentation.  See attachments.

I previously used Markdown Here for creating tables, headers, and code blocks.   My frustration is that when Evernote added code blocks (` and ```) Markdown Here no loger worked properly with Evernote Web, but Evernote's implementation is far from a suitable replacement.  Either do it right, or allows us to use plug-ins that will.

en_before.png

en_after.png

  • Like 3

Share this post


Link to post

4 replies to this idea

Recommended Posts

  • 0

Some tips to get MarkdownHere working again.

When using ``` specify a language, or none if you don't want syntax highlighting.  This will prevent Evernote from automatically creating code blocks. For example:

```python

x = 1
if x == 1:
    print("x is 1.")

```

or

```none

x = 1
if x == 1:
    print("x is 1.")

```

When use using ` for inline code use leading and trailing white space around your text.  For example:

` ps aux | pyp "line = x.split()" "print(line[1], line[-1])" | grep worker `

 

Share this post


Link to post
  • 0
On 8/4/2016 at 8:07 AM, PodioSpaz said:

My workaround is to use the old Evernote web.

Not everyone can use the old Evernote web app, evidently. New users are prevented.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...