GithubHelp home page GithubHelp logo

disaac / markdown-service-tools Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.21 MB

Markdown Service Tools - brettterpstra.com

Home Page: http://brettterpstra.com/projects/markdown-service-tools/

markdown-converter markdown multimarkdown automator-workflow automator macos-mojave

markdown-service-tools's Introduction

This is the latest version of Markdown Service Tools at the time of this commit. The only modifications made were adding Get Text to the workflow for Markdown To RTF when it didn't work for me to test in automator what the erorr was.

Works great as is just needed to have /usr/local/bin/multimarkdown available which I did by creating a symlink from my macport installations of multimarkdown.

sudo port install multimarkdown
cd /usr/local/bin/
ln -s /opt/local/bin/multimarkdown multimarkdown

References

Credits

Brett Is repsonsible for all of this code I simply put it in github so I can save my changes. Was unable to find the project in github or I would have just forked it.

markdown-service-tools's People

Contributors

disaac avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

markdown-service-tools's Issues

MultiMarkdown to RTF errors on certain selected text

Attempting to run the md - Convert - MultiMarkdown to RTF.workflow service with text selected that contains markdown list elements with bold **text** will result in the following error: Automator encountered an error running this workflow: “Couldn’t communicate with a helper application.”
for reference.

Example text that would reproduce when selected:

* Item 1  **Hello**
* Item 2 **BoldText** `gitproject_1` and `gitproject_2`

I verified that if run in automator with the same text but passing the text via "Get Specified Text" Action instead of receiving current selected text through the service the conversion happens successfully. This indicates that the issue is not with the workflow steps but Automators processing of the Selected text delivered to the service from the applications.

Additional debugging is needed to determine why this workflow only errors when handling certain text delivered from an application.

Observations:

  • Length of selected text does not matter.
  • If the error is received from selected text such as the example provided, attempting to select text that worked previously will start to fail. As mentioned in this gist you can in some cases recover from the error by selecting some other text and copying it to your clipboard then selecting the previously known working text and running service again.
  • Issue is only seen when text is passed through selected text if obtained through "Get Specified Text" in automator and passed to actions workflow will always succeed.
  • Likely an Automator bug and nothing to do with workflow.

Environment

MultiMarkdown 6 v6.4.0
ProductName:	Mac OS X
ProductVersion:	10.14.3
BuildVersion:	18D109
Automator: Version 2.9 (444.39)

References:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.