Professional Web Applications Themes

ruby2html -was Congrats to Matz...working 11 years on Ruby and counting! - Ruby

Simon Strandgaard [mailto:dk] said:   > > Now it converts from Ruby into xhtml 1.0 strict. > > Any thoughts about its output?[/ref] simple yet kewl. 1. can you extend gray background of comments page wide? 2. tabs too long (for me). Can you align defs with the class name and codes under def names? eg. Class X # def aligns under X # asdfasdfasdf def x # code here aligns under x # asdfasdfasdf end end 2. I'd like coloring that easily distinguishes and separate classes. Can you do this: for each class boundary (say fr Class... to ..end), ...

  1. #1

    Default ruby2html -was RE: Congrats to Matz...working 11 years on Ruby and counting!

    Simon Strandgaard [mailto:dk] said:
     
    >
    > Now it converts from Ruby into xhtml 1.0 strict.
    >
    > Any thoughts about its output?[/ref]

    simple yet kewl.

    1. can you extend gray background of comments page wide?

    2. tabs too long (for me). Can you align defs with the class name and codes
    under def names?

    eg.

    Class X
    # def aligns under X
    # asdfasdfasdf
    def x
    # code here aligns under x
    # asdfasdfasdf
    end
    end


    2. I'd like coloring that easily distinguishes and separate classes.

    Can you do this: for each class boundary (say fr Class... to ..end), the
    color alternates fr white to green.

    Eg.

    #background from here is white
    Class X
    ....
    end

    # background fr here is green
    Class Y
    ...
    end

    #background from here is white again,...
    Class Z
    ....
    end

     

    kind regards -botp


    =?iso-8859-1?Q?=22Pe=F1a=2C_Botp=22?= Guest

  2. #2

    Default Re: ruby2html -was RE: Congrats to Matz...working 11 years on Ruby an d counting!

    On Thu, 26 Feb 2004 15:12:11 +0900, Peña, Botp wrote: 
    >>
    >> Now it converts from Ruby into xhtml 1.0 strict.
    >>
    >> Any thoughts about its output?[/ref]
    >
    > simple yet kewl.
    >
    > 1. can you extend gray background of comments page wide?[/ref]

    Don't know how to do it. I have played around with the
    display property, but it seems to be rather difficult.

    span.comment {
    display: block;
    /*padding-right: %100;*/
    background-color: rgb(180, 180, 180);
    }

    I couldn't solve it. Suggestions is appreciated (need help).

     

    Will require some conceptual changes, because x-position of each letter
    has to be resolved. I realized this when I were almost done.
    It is possible and not difficult, just requires rethinking.

     

    I will have to poke around a little with this.. I think it should be
    relatively easy to add.


    I have added your suggestions on my ever growing TODO list ;-)

    --
    Simon Strandgaard

    Simon Guest

  3. #3

    Default Re: ruby2html -was RE: Congrats to Matz...working 11 years on Rubyan d counting!

    >> 
    >
    >
    > Don't know how to do it. I have played around with the
    > display property, but it seems to be rather difficult.
    >
    > span.comment {
    > display: block;
    > /*padding-right: %100;*/
    > background-color: rgb(180, 180, 180);
    > }
    >
    > I couldn't solve it. Suggestions is appreciated (need help).
    >[/ref]

    Well you could make it a div instead of a span, guarateeing it would
    fill the width available.

    Charles Comstock
    Charles Guest

  4. #4

    Default Re: ruby2html -was RE: Congrats to Matz...working 11 years on Ruby an d counting!

    On Thu, 26 Feb 2004 06:33:03 -0600, Charles Comstock wrote:
     
    >>
    >>
    >> Don't know how to do it. I have played around with the
    >> display property, but it seems to be rather difficult.
    >>
    >> span.comment {
    >> display: block;
    >> /*padding-right: %100;*/
    >> background-color: rgb(180, 180, 180);
    >> }
    >>
    >> I couldn't solve it. Suggestions is appreciated (need help).
    >>[/ref]
    >
    > Well you could make it a div instead of a span, guarateeing it would
    > fill the width available.
    >[/ref]

    I have just tried out what you suggest (making it a div), but
    now comment occupies the whole line.. from left border to right border.

    How the output should be
    '=begin$(?m).*?^=end$' # multiline comment

    But with divs the output is like this
    '=begin$(?m).*?^=end$'
    # multiline comment

    Am I doing something wrong.. the errornous output is here
    http://neoneye.dk/syntax_error.html

    Please suggest code which demonstrates how to do the trick.

    --
    Simon Strandgaard
    Simon Guest

Similar Threads

  1. checking record older than 2 years not working?
    By Lord Merlin in forum ASP Components
    Replies: 14
    Last Post: July 31st, 03:00 PM
  2. Replies: 3
    Last Post: February 24th, 11:30 PM
  3. Working Ruby for PPC??
    By Dennis Misener in forum Ruby
    Replies: 0
    Last Post: October 9th, 10:26 PM
  4. Congrats Miro
    By Ken in forum Photography
    Replies: 31
    Last Post: August 14th, 02:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139