@RoiEX said in Changing How PBF Posts Are Displayed:
Never tried this feature, mainly because I find it useful in general.
I agree that this will probably disable the code blocks for the posts, however you should keep in mind that changing this feature will probably break the whole post turn summary formatting, especially with leading whitespaces that get trimmed down using markdown.
Turning off this feature actually doesn't do anything except remove the colors. The code block is still there with the scroll bars.
Although I personally like it when such generic statements are in distinct code blocks, so the whole post isn't cluttered with them (seeing this a lot with stacktraces in github), I can see that the horizontal scrollbars can be really annoying without a touchpad on a laptop or a modern mouse that supports this feature natively.
Developers like us like this sort of thing, logs, code, it keeps everything where it should be. Most people using TripleA are not developers. So we should take their feedback and do something different.
The only alternative I can come up with right now is to maybe modify the ForumPosters to insert markdown formatting symbols before relevant positions
I think this is the way to go. The great thing about Markdown is that the raw text is just as readable as the formatted text. The one thing that I ask is not to use level 1 headers because they get translated into H1 tags and multiple H1 tags on a page is generally bad for SEO.
This is the example I posted on a&a .org:
Round: 1
---------
### Purchase Units - Chinese
- Trigger Chinese Artillery Supplies: Chinese has their production frontier changed to: productionChinese_Burma_Road_Open
- Chinese buy 3 artilleries; Remaining resources: 0 PUs;
### Combat Move - Chinese
### Non Combat Move - Chinese
- 4 infantry moved from Yunnan to Szechwan
- 2 infantry moved from Hunan to Yunnan
- 1 infantry moved from Shensi to Szechwan
- 2 infantry moved from Suiyuyan to Shensi
- 1 fighter moved from Szechwan to Burma
### Place Units - Chinese
- 3 artilleries placed in Szechwan
### Turn Complete - Chinese
- Chinese collect 10 PUs; end with 10 PUs
- Objective Chinese 1 Burma Road: Chinese met a national objective for an additional 6 PUs; end with 16 PUs
renders in to this, which is super nice
Round: 1
Purchase Units - Chinese
Trigger Chinese Artillery Supplies: Chinese has their production frontier changed to: productionChinese_Burma_Road_Open
Chinese buy 3 artilleries; Remaining resources: 0 PUs;
Combat Move - Chinese
Non Combat Move - Chinese
4 infantry moved from Yunnan to Szechwan
2 infantry moved from Hunan to Yunnan
1 infantry moved from Shensi to Szechwan
2 infantry moved from Suiyuyan to Shensi
1 fighter moved from Szechwan to Burma
Place Units - Chinese
3 artilleries placed in Szechwan
Turn Complete - Chinese
Chinese collect 10 PUs; end with 10 PUs
Objective Chinese 1 Burma Road: Chinese met a national objective for an additional 6 PUs; end with 16 PUs