Test

De Banane Atomic
Aller à la navigationAller à la recherche

List and table

  1. Item 1
Titre colonne 1 Titre colonne 2
colonne1 colonne2
  1. Item2 Text
  1. Item 1
    Titre colonne 1 Titre colonne 2
    colonne1 colonne2
  2. Item 2 Text

Nowiki

var v = 1;
var v = 2;
<nowiki>var v = 3;</nowiki>
var v = 1;
var v = 2;
var v = 3;

Inline

  1. var v = 10;
  2. var v = 10;
  3. var v = 1; var v = 2;\n var v = 3;\\n var v = 4;<br> var v = 5;
  4. end

Empty lang

Bash.svg
// empty lang
var v = 10;
Bash.svg
// no lang
var v = 10;
// empty lang
var v = 10;
// no lang
var v = 10;
// js
var v = 10;

Leading spaces

Cs.svg

    var v = 10;
    var x = 1 < 2 & 3;

List and break

  1. Step1 inline code 111 222 333 end line
    extra line
  2. Step 2 code block
    111
    222
    extra line
  1. Step1 inline code 111 222 333 end line
    extra line
  2. Step 2 code block
    111
    222
    extra line
  3. Step 3 kode
    Bash.svg
    111
    222
    extra line
  4. Step 4 text
  5. Step 5 filebox
    xxx.sh
    111
    222
    extra line
  6. Step 6 End

pre

yyy

Highlight issues

Cs.svg
namespace MyNamespace
{
    // code
}

// replaced by
namespace MyNamespace;

// code

[Attributes]
[Attributes()]
[Attributes("xxx")]
public interface IInterface
{
    public int MyProperty { get; set; }
    public List<int> MyProperty2 { get; set; }
    public Task<List<int>> MyProperty2 { get; set; }
    public MyClass MyProperty3 { get; set; }

    public void MyMethod()
    {

    }

    public int[] MyMethod1(int[] param)
    {
        return 0;
    }

    public List<int> MyMethod2(List<int> param)
    {
        return new List<int>();
    }

    public Task<List<int[]>> MyMethod2(List<Class[]> param)
    {
        var v = 10;
        var v = new List<int>();
        List<int> v = new List<int>();

        var v = $"test {test} test";

        MyMethod(param1, "param2");
        var v = MyMethod(param1, "param2");

        return new List<int>();
    }
}

public class MyClass<T> where T : class
{

}
Cs.svg
// StackPanel
stackPanel.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal);

// MyEnum
enum MyEnum {}

// value
var value = 0;

// CreateMap<D, IEnumerable<FlatD>>
cfg.CreateMap<D, IEnumerable<FlatD>>()
       .ConvertUsing<DToFlatDConverter>();

// Map<IEnumerable<FlatD>>
var flatDs = mapper.Map<IEnumerable<FlatD>>(d).ToList();

// IEnumerable
IEnumerable<(int groupId, int userId)> groupAndUserList = group.UserIds.Select(x => ValueTuple.Create(group.Id, x));

SyntaxHighlight

var v = new StringBuilder();

var v = new StringBuilder();

no highlight

Cs.svg
var myObject = new MyCLass();
Cs.svg
var myObject = new MyCLass();
Bash.svg
var myObject = new MyCLass();

ini

test.ini
[section]
cle = valeur
# comment
// comment
; comment

listes

  • un
    • deux
      • trois
  • dix
    • trente
  • un
    • deux
    • 22
      • trois
  • plus
  • plus
  • moins
  • moins
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois
  • un
  • deux
  • trois

SVG

Bash.svg
1.svg
Fichier:ASP.NET Core.svg