1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00

Test html

This commit is contained in:
Yan Maniez 2018-08-19 14:28:38 +02:00
parent a22614073c
commit ffda003050
3 changed files with 22 additions and 24 deletions

View file

@ -361,6 +361,18 @@
private void Render(HtmlBlock block)
{
if(block.Type == HtmlBlockType.NonInterruptingBlock)
{
if(block.Lines.Lines.FirstOrDefault().Slice.ToString() == "<br>")
{
var label = new Label
{
Text = "\n",
};
this.stack.Children.Add(label);
}
}
// ?
}

View file

@ -12,35 +12,12 @@ namespace AideDeJeuLib
get
{
return AideDeJeu.Tools.Helpers.GetResourceString($"AideDeJeu.Data.index.md");
//"# Joueurs (H&D)\n\n" +
// "## [Races](races_hd.md)\n\n" +
// "## [Classes](classes_hd.md)\n\n" +
// "## [Équipement](equipment_hd.md)\n\n" +
// "## [Multiclassage](multiclassing_hd.md)\n\n" +
// "## [Dons](feats_hd.md)\n\n" +
// "## [Caractéristiques](abilities_hd.md)\n\n" +
// "## [États spéciaux](conditions_hd.md)\n\n" +
// "## [Environnement](environment_hd.md)\n\n" +
// "## [Temps](time_hd.md)\n\n" +
// "## [Repos](resting_hd.md)\n\n" +
// "## [Sorts](spells_hd.md)\n\n" +
// //"## [Sorts de mago](spells_hd_with_class_magicien.md)\n\n" +
// //"## [Tours de magie de mago](spells_hd_with_class_magicien_minlevel_sortsmineurs_maxlevel_sortsmineurs.md)\n\n" +
// //"## [Armures légères](equipment_hd_with_type_armurelegere.md)\n\n" +
// "# MJ\n\n" +
// "## [Créatures](monsters_hd.md)\n\n" +
// //"## [Mignons](baby_bestiary_hd.md)\n\n" +
// "# VO (SRD)\n\n" +
// "## [Conditions](conditions_vo.md)\n\n" +
// "## [Spells](spells_vo.md)\n\n" +
// "## [Monsters](monsters_vo.md)\n\n"
// ;
}
}
public override void Parse(ref ContainerBlock.Enumerator enumerator)
{
throw new NotImplementedException();
}
}
}

View file

@ -1,3 +1,4 @@
# Manuel des règles
<!--
## [Création du personnage]
@ -26,6 +27,8 @@
## [Panthéons](pantheons_hd.md)
<br>
# Cadre de campagne
## [Objets magiques](magicitems_hd.md)
@ -38,6 +41,8 @@
## [Jouer dans un multivers](planes_hd.md)
<br>
# Créatures et oppositions
## [Créatures](monsters_hd.md)
@ -52,8 +57,12 @@
## [Poisons](poisons_hd.md)
<br>
# [Les Cinq Royaumes](l5r_index_hd.md)
<br>
# SRD
## [Conditions](conditions_vo.md)