GithubHelp home page GithubHelp logo

cansnippet's People

Contributors

ademcan avatar baptistedonaux avatar bawaaaaah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cansnippet's Issues

Create a todolist

The creation of a todo list at the root dir of the project or direct in the readme file may be important for helping to fix, objectif/modification/fix/new feature we have to do.

Bug plugin Autolinker dans ma branche

Voila j'ai un soucis sur ma branch de test mod loader "feature.prism_mod_loader"
la base fonctionne je cherche toujour a avoir une architecture propre pour rajouter a certain endroit ou non des balise
pour avancer au plus vite j'ai chercher un plugin qui ne nécéssite pas de balise (l'autolink)
hélas il ne gére pas les point ce qui fait que pour un email [email protected] il ferra le lien pour exemple@exemple
et pour les lien vers des sites ça ne fonctionne pas.
si vous avez une idée de pourquoi ça ne marche pas je suis preneur

https://github.com/bawaaaaah/canSnippet/tree/feature.prism_mod_loader

Testing prismjs plugins

Comme convenu, j'ai créé une branche "prism_plugins" pour tester les plugins de prism.js de la manière dont nous avions discuté dans la journée.
L'idée est donc d'intégrer le tout pour faciliter la tache à l'utilisateur, sans utiliser d'autoloader (pour le moment).

Vous pouvez donc tester les deux plugins suivants sur cette branche:

  • line numbers
  • line highlights
    Pensez tout d'abord à bien lancer le fichier updateDb.php (une page blanche s'affiche si tout est bon).
    C'est vraiment ce que je voulais obtenir, dites-moi ce que vous en pensez. Il s'agit d'une première ébauche il y aura donc des améliorations.

browse c++ returns nothing

When browsing c++ snippets (with at least one present in database), no results is displayed. 'c++' is handled as 'c' in request.

I patched browse.php (line 53/54) to solve that

if(selectedLanguage=="c++")
        selectedLanguage="c%2b%2b";

Character on code leads to 404

Hi,

I just want to say that I am using your script and it's all I ever wanted! Great job thank you for sharing!

I will try to implement a search function based on the tags as well whenever I'll have some free time.

There's a bug however, wherever the exclamation mark (!) character is used in the code it leads to 404 when I try to save the code and the snippet doesn't get stored on the db.

Any suggestions, before I manually try to fix that on the code, would be greatly appreciated.

Thanks a lot!
Fivos

important : Future work on canSnippet

Hi guys, a short post to clarify the actual situation and future plans.
First of all I would like to thank you for your participation for improving canSnippet, I really appreciate it. I needed a bit of time to get used to Github, now it should be fine (thanks to @yjarosz and @ymouscaz) :)

I created a "dev" branch on the project. We will mainly work on the “dev” branch, I will merge everything to the master when the following milestone (or version) will be reached. For now, we have a v1.0 which works quiet well, I will thus accept only security improvements on the master branch until the v2.0.

Some plans for the v2.0:

  • add the support of all the plugins and themes from prism.js
  • add the adapted graphical interface to let user apply prism.js mod to their snippets
  • better CSS for mobiles (which already exists but needs improvements) and cleaning the actual CSS
  • new theme for canSnippet, something less green and non-flat
  • what about the languages not supported on prism.js (I had a request about the Powershell programming language support) ? We can also contribute to prism.js by adding the support of a new language, let's see how feasible it is.
  • tag support
  • search API, to let users access their snippet from their preferred IDE

[FR]
Je vous remercie pour votre participation, c'est vraiment génial. Je vous demande de faire toute communication importante en anglais, le français n'est pas interdit bien sur mais cela permettra une plus grande accessibilité du code et de la documentation.
Je viens de créer une branche "dev", elle nous permettra de faire avancer le projet jusqu'à ce que la liste des changements pour la version suivante soit atteinte. Je mergerai alors les deux branches pour une version stable toujours disponible. J'ai aussi ajouté une liste de todo pour la v2, il n'est pas impératif de tout mettre en place, nous verrons selon l'avancement. De plus, je voudrais que l'application reste le plus simple d'utilisation possible, KISS (Keep It Simple, Stupid), donc certaines améliorations qui demandent beaucoup de changements ou de démarches de la part de l'utilisateurs prendront un peu de temps à être intégrée.

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.