Jump to content

test post please ignore


Busti

Recommended Posts

IntelliJ Paste Light:  

object Test extends App {
  val string_literal: String = "heck"
  val numeric_literal: Int = 123;
  val xml_literal = <html>
      <a href="test">
          Lorem ipsum dolor sit amet
      </a>
  </html>
  type A_TYPE = Seq[String]
  
  /**
    * A comment...
    */
  def a_function(): A_TYPE = {
    return "foo" + string_literal;
  }
}

 

IntelliJ Paste Dark:

object Test extends App {
  val string_literal: String = "heck"
  val numeric_literal: Int = 123;
  val xml_literal = <html>
      <a href="test">
          Lorem ipsum dolor sit amet
      </a>
  </html>
  type A_TYPE = Seq[String]

  /**
    * A comment...
    */
  def a_function(): A_TYPE = {
    return "foo" + string_literal;
  }
}

 

Native Code:

object Test extends App {
  val string_literal: String = "heck"
  val numeric_literal: Int = 123;
  type A_TYPE = Seq[String]

  /**
    * A comment...
    */
  def a_function(): A_TYPE = {
    return "foo" + string_literal;
  }
}

 

Native HTML:  

<!Doctype html>
<html>
   <body>
        <a href="test" class="foobar">
            Lorem ipsum dolor sit amet
        </a>
    </body>
</html>

 

Edited by Busti

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Link to comment
Share on other sites

@Ugdhar Thanks for your feedback!  
I made this, because I find that the dark forum-native highlighting is not very well optimized. 
I used this post to test some changes I have made to the css and I have now submitted a Pull Request to have the changes applied to the forum here:  
https://github.com/MinecraftForge/Web/pull/5   

The title is partially based on this famous reddit post, which was once the most upvoted post there, but I also wrote title that because this post is not really all that important and should be ignored ;)
https://www.reddit.com/r/pics/comments/92dd8/test_post_please_ignore/

Edited by Busti

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.