Jump to content

[SOLVED] How to replace the from MacOS-selection ? eg. from markdown to `markdown` ?


Recommended Posts

Posted (edited)

Is there a simple way of replacing the text in any text editor like this:

 

original text:  print('hello')

markdown code formatted replace text: `print('hello')`

keyboard shortcut: ctrl-opt-c

 

My attempted workflow is shared on github.

 

226916276_Screenshot2018-05-1811_27_13.png.9ee869631392eccdf5d11166142944cc.png

Edited by Bhishan
Posted (edited)

The top parts, works but it gives me two outputs of the same thing.

 

Example:  

1. text selected:    This is practice

2. select the text with mouse

3.hit the keyboard combination, it gives:   `This is practice``This is practice`

4. it should give:  `This is practice`

 

example.png.d46c6635ec5f911d08f87d38cbbb3acd.png

Edited by Bhishan
Posted

Can’t reproduce your issue. It works fine with me. You should check if other app (like another clipboard manager) isn’t causing the duplication problem.

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