Closed hamed-zamani closed 10 years ago
PressJS uses MarkDown. MarkDown itself supports code blocks and so PressJS.
PressJS even supports syntax highlighting for code blocks. Four spaces or a single tab specifies you are writing a code blocks. You can also use ``` syntax:
```javascript
var call = Function.prototype.call.call.bind(Function.prototype.call)
I knew that! but when please open your blog and try to copy a multiple line code from your blog! If you can do something that fix the problem of copying(!) it would be awesome. :)
@boomz I've tested the copy functionality and it just worked fine! Would you please tell me some details?
@amir-s I update my Chrome and now the problem is solved ;) Please close the issue! :)
It is obvious that geek guys like to use this platform more than others, so supporting a good Code block is important. One important issue in Coding Block is that people (blog viewers) wants to select code blocks and use copy/paste technique. But #PressJS do not support this important feature yet!