New answers tagged

0

I will also answer this question with an alternative method I worked out: set exportedNote to "Example note exported from Apple. <ul> <li>Indent</li> <ul> <li>*Further* indent</li> <ul> <li>Even **further **indent. With a [link](https://duck.com).</li> </ul> </ul> ...


1

The following example AppleScript code, as coded, is intended to work with bulleted list HTML code as shown in the OP, meaning that what is passed in the variable is just the relevant code to define the bulleted list and not other arbitrary HTML code. As coded, it will produce the appropriate output for variations of bulleted list HTML code as well, not just ...


2

Here is one example: set htmlString to "This is a link: <a href=\"https://duck.com\">link</a>" set mdString to do shell script "/usr/bin/sed -E -e 's|<a href=\"|[link](|g' -e 's|\">link</a>|)|g' <<< " & htmlString's quoted form Result: "This is a link: [link](https://duck.com)...


5

You can install recode via the Terminal with Homebrew: brew install recode and then use it to convert HTML to Unicode, like this: echo '&#21696;&#29282;&#23665;' | recode html..utf8 This produces 哀牢山 (inspired by @creving's answer on Stack Overflow)


1

How can I easily, painlessly push text files back and forth between my phone and my laptop? Use the cloud... This is what Cloud synchronization was designed for. This will work with iCloud, OneDrive, Dropbox, et al. Simply create a file and put it in the directory that gets synchronized with your chosen service and the file will be available on all of ...


1

AirDrop: With AirDrop, you can wirelessly send documents, photos, videos, websites, map locations, and more to a nearby Mac, iPhone, iPad, or iPod touch. You should be able to “share” the text file and select your iPhone under AirDrop. Another option is to Copy and paste between devices: With Universal Clipboard, you can copy text, images, photos, and ...


Top 50 recent answers are included