Giter Site home page Giter Site logo

lilydjwg / 2bbcode Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 10.0 51 KB

A set of custom Pandoc writers for converting to BBCode.

License: BSD 3-Clause "New" or "Revised" License

Shell 1.18% Lua 97.48% Batchfile 1.34%
bbcode pandoc custom-pandoc-writers phpbb fluxbb markdown-converter

2bbcode's Issues

Can you please show me how to save output file to another location?

Hey I am trying to use your software and it works out of the box, I wonder if you could help me with this little issue though.
I am very new to this and scripting in general, so please bear with me if I seem slow.

.\2bbcode.bat example.md
The above works fine and prints out a bbcode file in the same directory as the 2bbcode.bat file. I am trying to get the output file saved to another directory, I have tried
.\2bbcode.bat .\example.md -o .\test\test.bbcode
It just saves it to the same location as the 2bbcode.bat file.

Can you please show me how to save it to another location? Am on windows. Thank you.

On linux, the script does not work as documented on the readme

doing :

./2bbcode -f org < ../orgModeFile.org

returns nothing, doing:

./2bbcode org < ../orgModeFile.org

(removing the "-f")

works as expected (this is pretty obvious if you read the script, it just passes the first argument to the -f flag of pandoc) ,

I think modifying the script to:

exec pandoc -t "$me"/bbcode.lua "$@"

will work better (basically passing all the parameters to pandoc).

integrate upstream?

it would be a easier if this would be upstream, it can save having an extra executable on my system, That's a little less clutter (which makes searching files a little easier) and one less piece of software that needs to be manually updated.

It could also lead to a few more eyes on the code, meaning maybe more better feedback and more improvement's to the code.

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.