Jump to content
We apologize for the inconvenience, but chat support is currently unavailable. Please feel free to submit an email ticket or reach out at discussion.evernote.com. Thank you for understanding. ×
  • 18
dec4106

Set font for code block

Idea

Like the new code block feature!  Next it would be nice to be able to set the code font -- it's a little small for my old tired eyes :-).

Also nice would be syntax highlighting, but can live without that.

  • Like 2

Share this post


Link to post

9 replies to this idea

Recommended Posts

  • 1

I agree!

Also an option of changing the background color (I find dark code blocks much easier to read) would be nice!

For me, syntax highlighting is mandatory. I'm already searching quite a while for a tool where I can save my documentation, notes and code examples for personal use. Like a private knowledge base. Currently I've build my own node application to do this. But it would be so nice if Evernote would support this feature!

 

  • Like 1
  • Haha 1

Share this post


Link to post
  • 1
19 minutes ago, mkanakos said:

I also am looking for the suggestions moonbox makes:

  • font choice for code block / larger font size
  • syntax highlighting in code blocks

 

Then you should vote this topic up.

  • Like 1

Share this post


Link to post
  • 1
<p>I too want code blocks</p>

<p>Kinda sad the forum supports them but the product does not</p>

<p>There was a Mac beta which had some kind of support for them...what ever happened to that?!</p>

 

Share this post


Link to post
  • 1
4 hours ago, Zetta said:

<p>I too want code blocks</p>

<p>Kinda sad the forum supports them but the product does not</p>

<p>There was a Mac beta which had some kind of support for them...what ever happened to that?!</p>

 

Code blocks are supported in the product but font change and syntax highlighting is not.

Share this post


Link to post
  • 1

I find it frustrating when I paste code from Visual Studio and the text colors for syntax highlighting are all correct and then using the Code Block formatting button deletes all the font coloring.  

It'd also be nice to have a way to put line numbers on the snippet.  

 

EvernoteCodeFormattingScreenCapture.gif

Edited by Chris Zeigler
corrected grammar a bit

Share this post


Link to post
  • 1

Great feature! However, I found that when changing a block of text to the new code format, it undid all the indenting - please do something about that! Along with the syntax checking (if possible) and color coding.

  • Like 1

Share this post


Link to post
  • 1
On 27/06/2016 at 11:00 PM, moonbox said:

Also an option of changing the background color (I find dark code blocks much easier to read) would be nice!

For me, syntax highlighting is mandatory. I'm already searching quite a while for a tool where I can save my documentation, notes and code examples for personal use. Like a private knowledge base.

Hi Moonbox. https://marxi.co/ may help you. I currently use this for the reasons you described. The notes you create save in EVN as html files. You can re-edit them in Marxico again. I also like that the notes are locked and you cant accidentally edit in EVN. 

It's pretty good and worth a look. You can create a table of contents too for your notes which is pretty awesome for documentation. 

I would like code language support as well as the locking feature to be build into EVN but whatever.

Share this post


Link to post
  • 0

I also am looking for the suggestions moonbox makes:

  • font choice for code block / larger font size
  • syntax highlighting in code blocks

 

Share this post


Link to post
  • 0
On 9/22/2016 at 11:42 AM, Chris Zeigler said:

I find it frustrating when I paste code from Visual Studio and the text colors for syntax highlighting are all correct and then using the Code Block formatting button deletes all the font coloring.  

It'd also be nice to have a way to put line numbers on the snippet.  

 

EvernoteCodeFormattingScreenCapture.gif

Not the grandest of workarounds, but if you leverage the triple backtick to create a block first, then paste into it, Evernote appears to respect your syntax highlighting (tested on web, not any platform specific versions).

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...