Git Product home page Git Product logo

Comments (4)

maaslalani avatar maaslalani commented on May 22, 2024

Hey, this definitely looks correct! What version of slides are you on? This feature was introduced in v0.4.0

Also, does all pre-processing not work? Can you do a simple:

~~~echo hello
should be erased
~~~~

Also, does your file have execution permissions? chmod +x file.md. This is needed for security reasons since this executes code on your system so the file must be executable to ensure you've opted-in to pre-processing.

from slides.

maaslalani avatar maaslalani commented on May 22, 2024

This is a great use-case of pre-processing though! Thanks for using slides! 😄

I suspect you are just missing the chmod +x slides.md

from slides.

maaslalani avatar maaslalani commented on May 22, 2024

It works for me! (with the file being executable)

image

from slides.

marcotrosi avatar marcotrosi commented on May 22, 2024

Thanks again for the fast reaction time and for sharing slides with the world.

Okay, it works now. Thank you so much.

Of course it was my fault. I had used chmod 754 slides.md instead of chmod +x slides.md. I thought it should be enough when I (the owner) or my group have execution rights, but it's the "others" that need it.

One more side note...
The example in the README.md or preprocess.md shows only the 3 tilde before and after. But according to the example above and also when looking at your markdown examples in RAW format, I can that also the 3 backticks before and after are required, otherwise slides prints a bunch of dashes right before the replaced text.
I assume that GitHub is removing the 3 backticks when rendering these markdown files here. Maybe you can add a sentence that mentions that the 3 backticks before and after are required but GitHub doesn't show them properly.

from slides.

Related Issues (20)

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.