Jump to content

level96

Level 1
  • Posts

    3
  • Joined

  • Last visited

Posts posted by level96

  1. Hi,

    as a longterm Evernote-user and a developer, this is a must-have feature for me.
    Especially Syntax-highlighting, space-stability (eg. for python) and output-result on all clients is essential.

    So i came with a custom solution by using pygments on Python.
    This allows me to render code-xml that is tailored to Evernotes restricted xml-dialect, so the result looks the same on the latest browser and Evernote-clients.

    Unfortunately there is no library in JS that fulfills this requirements, so i wrote an aws-lambda-microservice for it and a vue-js page to make it accessible.

    It create an Evernote-export-file (.enex) with the information of:

     

    • - title (the notes title)
    • - language (the code languages - current it supports 100 languages from abab to YAML)
    • - the author (if needed)

    which you can import to Evernote.

    At the moment it just support one code per note.
    If you need several code-blocks in one note, you can copy from a note and paste.

    It works for me so far, if you are interested, i have an idea for an editor, where you can enter mixed-content and save the note direct to Evernote per API.
     

    This is how it works

    save-evernote.gif

     

    Here is the deeplink of that tool
    https://annoyingdev.com/save-code-with-highlighting-on-evernote

    ps. - this tool is free, i try to keep that as stable as possible.
    if you find issues, just send me a message.

    I'm looking forward for your feedbacks.

×
×
  • Create New...