Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Pochani is a customizable Command line tool for creating great presentation from Markdown file. You don't need any memory hungry presentation application to create presentation.Simply create a markdown file and convert it to a wonderful presentation with this command line utility. The output presentation is beautiful, independent and full of useful features.
Pochani requires at least node.js 0.12.x, and it can be installed directly with npm, just use the below command as root user:
npm install -g pochani
If you wish to install manually, that's also possible, just clone the Git repository and create a symbolic link to your /usr/local/bin directory with the following code:
git clone https://github.com/theanam/pochani.git
sudo ln -s /location/to/pochani/pochani.js /usr/local/bin/pochani
obviously don't forget to change the location/to/pochani
to the folder you've cloned pochani into.
Pochani uses markdown syntax. if you are not familiar with it, you can learn it I wrote a Bangla article on markdown, you can Check it out if you speak Bangla. You'll be amazed how quickly you can create documents with markdown. In fact, this document is written in Markdown as well.
however you'll have to know one more thing, Pochani uses a special identifier --SLIDE--
at the beginning of each slide.This helps create multiple slides out of a single file. note: it's case sensitive so, --SLIDE--
should be in uppercase . Here's a sample file with three slides:
--SLIDE--
# Hello world
Pochani is nice, and fast
--SLIDE--
# The Slide has a list
* List element one
* List element two
* List element three
--SLIDE--
Did you notice we just created three slides with just a few lines of text?
Isn't it awesome?
--SLIDE--
# Thanks for using Pochani
happy that it helped
make sure that the identifier --SLIDE-- is on a single line.
Save the file with .md or .markdown format. both are supported, let's say you saved it as mypresentation.md
Go to the folder where your file is located, and run this command:
pochani mypresentation.md
This will copy all the necessary files and convert your file into a nice presentation. the filename should be mypresentation.md.html. The res
folder contains all the necessary libraries and files, put them and the file in a server then open it in your browser and start presenting it. You can directly double click and open the file to present it, but for security reasons, Video won't work. you can use the http-server npm package to serve the file from the same directory. just use npm install -g http-server
and once it's installed run http-server
command inside the presentation folder, and navigate to http://localhost:8080
I'm working on a integrated server with support for remote control for a future release.
Pochani comes with a default template. But the main power is with you. You can Create your own very easily. just download the base template file (template.css) from here edit it, and then use the filename as an extra parameter while converting. Like this:
pochani filename.md mytheme.css
And it will use styles from this file, rather than the default file.
FAQs
Create presentation with markdown
We found that pochani demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.