omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Auto double paragraph spacing for Markdown

    Editorial
    paragraph
    2
    3
    2484
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wingcoder
      Wingcoder last edited by

      I am new to Markdown having written my book in MS Word. Consequently I've only used single paragraph spacing. With Markdown you need two blank lines and to change my entire document would take foooorever!

      Please can someone help by providing me, either with a simple way to do this, or a Workflow to automatically reformat my paragraphs for Markdown.

      Thanks at least a million. 😀

      Coder

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by ccc

        You want a script that changes all single blank lines into a double blank lines? text.replace('\n\n', '\n\n\n')

        1 Reply Last reply Reply Quote 0
        • Wingcoder
          Wingcoder last edited by

          Thanks ccc.

          Can you explain how I can create this script as a workflow and how to use it.

          As I say I'm a complete novice in all thinks Editorial.

          Regards,

          Glenn

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors