Git Product home page Git Product logo

alfred-pandoc-clipboard-convert's People

Contributors

flegfleg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alfred-pandoc-clipboard-convert's Issues

Source code is not committed

The source code of the workflow is not committed to this repo, only the compiled version. This way, there's no way for other people to make merge requests.

Workflow doesn't work

Hi

Trying to convert markdown to RTF. I use the recommended command i.e., 'panclip markdown-RTF', but no joy. This is the error I'm getting from the alfred debugger:

[WARNING] Could not fetch resource 'Pandoc-Icon/Pandoc-Icon.png': andocResourceNotFound "Pandoc-Icon/Pandoc-Icon.png"
[2018-01-12 20:19:05][input.keyword] Processing output of 'action.script' with arg 'markdown-RTF'
[2018-01-12 20:19:06][ERROR: action.script] [WARNING] Could not fetch resource 'Pandoc-Icon/Pandoc-Icon.png': PandocResourceNotFound "Pandoc-Icon/Pandoc-Icon.png" 

I'm hoping you can help. I am using the following software:

MacOS 10.13.2
pandoc 2.0.4

Thanks in advance.

Quotes in output are messed up

Input

### Fixed
- Revert "_Fix menu link not being visible if the user doesn't have the 'access content overview' permission_". This 
  cannot be fixed since the menu link tree is stored in the database and there's no easy way to alter it at runtime.

Wrong output

<h3 id="fixed">Fixed</h3>
<ul>
<li>Revert “<em>Fix menu link not being visible if the user doesn’t have
the ‘access content overview’ permission</em>”. This cannot be fixed
since the menu link tree is stored in the database and there’s no easy
way to alter it at runtime.</li>
</ul>

Right output

<h3 id="fixed">Fixed</h3>
<ul>
<li>Revert “<em>Fix menu link not being visible if the user doesn’t have
the ‘access content overview’ permission</em>”. This cannot be fixed
since the menu link tree is stored in the database and there’s no easy
way to alter it at runtime.</li>
</ul>

Proposed fix

I was able to fix this issue by removing the following line:

export LANG="$(defaults read -g AppleLocale).UTF-8"

Path to pandoc is hardcoded

I installed pandoc using brew install pandoc and the executable ended up in /opt/homebrew/bin/pandoc, not /usr/local/bin/pandoc. We should make the executable path configurable through a variable or auto-discover it in some way.

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.