Zarel / Pokemon-Showdown-Dex

Pokémon Showdown's Pokédex
MIT License
107 stars 77 forks source link

Add a 'Battle Rules' article for EBC #7

Closed scheibo closed 5 years ago

scheibo commented 5 years ago

Can't verify with testing. FWIW, the following assumptions should probably be fixed with respect to the build.

Even after getting the build to work, I couldn't figure out how to get 'Rules' article to load in the test client (I could get 'Critical Hit' to load though), but I verified the it look sane by manually opening the built file:

test

I will comment with the link in config/ruleset.js on the server once this lands.

Zarel commented 5 years ago

Oh yeah heh I never really expended much effort into making this easy to build.

The linebreak-to-<br /> conversion is intentional, though. GFM is also like that. Too many casual users pressing Enter and producing text that looks fine to them but awful when linebreaks are collapsed.

Zarel commented 5 years ago

I think the name "Rules" is probably too generic. Maybe something like "Battle Rules"?

scheibo commented 5 years ago

I think the name "Rules" is probably too generic. Maybe something like "Battle Rules"?

Done.