Giter VIP home page Giter VIP logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
What language is this?  Is it a BASIC dialect?

I just added language specific formatters, so doing
  <pre class="prettyprint lang-sh">
                          ^^^^^^^------- specifies language to use
should address this problem by using a shell script formatter that recognizes #
comments but not // or /* comments.

Original comment by [email protected] on 5 Jul 2008 at 3:59

from code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
A BASIC dialect?  Dude, it's Ruby!

Your solution sounds grand.  I'll take a look when I get a chance.  Thanks!

Original comment by mhawthorne on 7 Jul 2008 at 9:18

from code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Oh ok.  I thought Ruby looked more perly.  I'll have to learn it one of these 
days.

Original comment by [email protected] on 8 Jul 2008 at 4:46

from code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Figure out whether ruby allows codepoint 8221 as a quoting character or whether 
this
is a smart-quotes issue.

Original comment by [email protected] on 6 Jan 2009 at 6:01

  • Changed state: Accepted

from code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
This looks like a smart quotes issue.

Passing the program
  print(”hello world”)
, where ” is the smart close quote codepoint 8221/0x201D, to
  ruby -Ku
produces the following error messages
  -:1: warning: parenthesize argument(s) for future version
  -:1: undefined local variable or method `world”' for main:Object (NameError)

Please see "Why doesn't Prettyprinting of strings work on WordPress?" in the 
FAQ at
http://google-code-prettify.googlecode.com/svn/trunk/README.html

Original comment by [email protected] on 6 Jan 2009 at 6:30

  • Changed state: Invalid

from code-prettify.

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.