Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

  • Author

@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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.