3 ms·
Would be nice to randomize the url id so that you cannot see all the posts that have ever been written just by doing +1 on the number. Also, I usually stick to
by vjeux 14y ago
Would be nice to randomize the url id so that you cannot see all the posts that have ever been written just by doing +1 on the number.
Also, I usually stick to Wordpress because you can embed code. Any plans to allow syntax highlighting?
Thanks!
- sfard 14y agoA front-end dev friend of mind asked for code-embedding/syntax highlighting too! I'd be happy to add it if I can come up with an elegant implementation. Is there a "markdown" for code that you know of?
- fizx 14y agoWhat language are you in? pygments seems to be the best regarded.
- Shank 14y agoGithub uses Pygments: http://pygments.org/ http://pygments.org/ I don't know what language you're using, but here's a Ruby library for it: https://github.com/tmm1/pygments.rb https://github.com/tmm1/pygments.rb Edit: Scrolled down and saw Django. Pygments is native to Python, so you might be in luck if you want to use that.
- sfard 14y agoAwesome, thanks. Will definitely add code support in coming days/weeks.
- lighthazard 14y agohttp://alexgorbatchev.com/SyntaxHighlighter/ http://alexgorbatchev.com/SyntaxHighlighter/ is a great place to start.
- tikhonj 14y agoIf you're going to add support for code (and you should!), consider also adding support for TeX. Something like MathJax[1] should work well.
- manveru 14y agoI always like https://code.google.com/p/google-code-prettify/ https://code.google.com/p/google-code-prettify/