Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Do you support Syntax Highlighting? Yes!

This is a test for syntax highliting.
If it doesnt work we will kill you.

cat image

// Hello1.cs
public class Hello1
{
	public static void Main()
	{
		System.Console.WriteLine("Hello, World!");
	}
}
12
12
Posted 6 years ago
Edited 6 years ago
  
  

This is a comment...

Nathan Jones   5 years ago Report
Votes Newest

Answers 9


class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!"); 
    }
}
  
  
Posted one year ago

class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!"); 
    }
}
  
  
Posted one year ago
Edited one year ago

class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!"); 
    }
}
  
  
Posted one year ago
Edited one year ago

#!/bin/bash

#coment
if [ -f /dev/null ] ; then
  echo "we have null"
fi

or java

var s = "foo";

or yaml

str: hi guy
num: 123
obj:
  attr: value
array:
  - item1
	- item2
  
  

Looks promising

Vaclav Votipka   3 years ago Report

now it does wierd.. :D

#include<stdio.h>
using namespace std;
int main() {
printf("flec");
return 0;
}
  
  
Posted 4 years ago
Edited 4 years ago

package main

import (
	"log"
	"net/http"
	"io/ioutil"
)

func main() {
	resp, err := http.Get("https://www.google.com")
	if err != nil {
		log.Fatal(err)
	}
	defer resp.Body.Close()
	if resp.StatusCode == http.StatusOK {
		bodyBytes, err := ioutil.ReadAll(resp.Body)
		if err != nil {
			log.Fatal(err)
		}
		log.Printf(string(bodyBytes))
	}
}
  
  
Posted 4 years ago
  
  

golang does not work

Samiul Haque   4 years ago Report

test

public interface CommonUserProvider {

}

markdown

syntax

  • asadsasd
  • asdadsasd
  
  
Posted 4 years ago
Edited 4 years ago
  
  

markdown!

Michal Franc   4 years ago Report

How does it handle xml?

<SomeXml>
  <YupItIsAnElement/>
</SomeXml>
  
  
Posted 5 years ago

It works

2
2
Posted 6 years ago
6K Views
9 Answers
6 years ago
one year ago
Tags