Codoforum related discussions
[Solved] Tables in post using Markdown

Hello,

I've set up Codoforum for production, and I'm very please with the result, thank you very much for this product!

On my website, a lot of technical stuff is presented in posts, please check an exemple here.

My main concern at the moment is table representation.

Here is a table in Markdown:

|     | A   | B   |
| --- | --- | --- |
| 1   | A1  | B1  |
| 2   | A2  | B2  |
| 3   | A3  | B3  |

Result:

A B
1 A1 B1
2 A2 B2
3 A3 B3
3 A3 B3

Here is another one:

| Blank | Column A | Column B |
| ----- | -------- | -------- |
| Row 1 | Cell A1  | Cell B1  |
| Row 2 | Cell A2  | Cell B2  |
| Row 3 | Cell A3  | Cell B3  |

Result:

Blank Column A Column B
Row 1 Cell A1 Cell B1
Row 2 Cell A2 Cell B2
Row 3 Cell A3 Cell B3

Line aren't drawn, this is difficult to read smile

It is not as bad in preview:
55b6b296ab31e.png
55b6b29af280b.png

(hum, that would be nice to click the picture to have it opened in a new windows in its saved resolution)

Here is one in BBCode:
Oups, BBCode seems not parsed, that's not an issue for me as Markdown suits my needs (the tip in the editor may be updated).

I don't know if I'm doing something wrong, but I would be very pleased to be able to draw nice tables..

Keep up the good work!

Reynald

Hello, I've set up Codoforum for production, and I'm very please with the result, thank you very much for this product! On my website, a lot of technical stuff is presented in posts, please check an exemple [here](http://supra-mk3.club/codoforum/topic/65/). My main concern at the moment is table representation. Here is a table in Markdown: ```` | | A | B | | --- | --- | --- | | 1 | A1 | B1 | | 2 | A2 | B2 | | 3 | A3 | B3 | ```` Result: | | A | B | | --- | --- | --- | | 1 | A1 | B1 | | 2 | A2 | B2 | | 3 | A3 | B3 | | 3 | A3 | B3 | Here is another one: ```` | Blank | Column A | Column B | | ----- | -------- | -------- | | Row 1 | Cell A1 | Cell B1 | | Row 2 | Cell A2 | Cell B2 | | Row 3 | Cell A3 | Cell B3 | ```` Result: | Blank | Column A | Column B | | ----- | -------- | -------- | | Row 1 | Cell A1 | Cell B1 | | Row 2 | Cell A2 | Cell B2 | | Row 3 | Cell A3 | Cell B3 | Line aren't drawn, this is difficult to read :( It is not as bad in preview: ![55b6b296ab31e.png](serve/attachment&path=55b6b296ab31e.png) ![55b6b29af280b.png](serve/attachment&path=55b6b29af280b.png) ##### (hum, that would be nice to click the picture to have it opened in a new windows in its saved resolution) Here is one in BBCode: Oups, BBCode seems not parsed, that's not an issue for me as Markdown suits my needs (the tip in the editor may be updated). I don't know if I'm doing something wrong, but I would be very pleased to be able to draw nice tables.. Keep up the good work! Reynald
edited Aug 7 '15 at 8:53 pm

My workaround:

Open codoforum\sys\Ext\Html.php

Find

'table' => array('border-collapse',
'cellspacing', 'cellpadding' ),

Change it to

'table' => array('border-collapse',
'cellspacing', 'cellpadding', 'class' ),

Result:
http://www.nguoianphu.com/topic/9/lich-su-huyen-an-phu-tinh-an-giang

My workaround: Open ```codoforum\sys\Ext\Html.php``` Find > ```'table' => array('border-collapse', 'cellspacing', 'cellpadding' ),``` Change it to > ```'table' => array('border-collapse', 'cellspacing', 'cellpadding', 'class' ),``` Result: http://www.nguoianphu.com/topic/9/lich-su-huyen-an-phu-tinh-an-giang
NguoiAnPhu.com Powered by Codoforum 4.3 (https://github.com/nguoianphu/codoforums-vietnam).

Thank you nguoianphu, that's working: http://supra-mk3.club/codoforum/topic/65/Guide:%207M%20-%20SYST%C3%88ME%20DE%20DIAGNOSTIQUE

I like your URL better than mine, how do spaces become "-" instead of "%20" please? Do you have by chance documentated your customizations?

Thank you nguoianphu, that's working: http://supra-mk3.club/codoforum/topic/65/Guide:%207M%20-%20SYST%C3%88ME%20DE%20DIAGNOSTIQUE I like your URL better than mine, how do spaces become "-" instead of "%20" please? Do you have by chance documentated your customizations?

I've got the same issue like yours. I did a lot of modify in my code. It makes me headache when we have a new codoforum upgrade. smile

Here is my topic:
http://codologic.com/forum/index.php?u=/topic/3935/codoforum-seo-discuss

P/S: Do you like your URL like this?
http://supra-mk3.club/codoforum/topic/65/guide-7m-syst-amp-egrave-me-de-diagnostique

I've got the same issue like yours. I did a lot of modify in my code. It makes me headache when we have a new codoforum upgrade. :D Here is my topic: http://codologic.com/forum/index.php?u=/topic/3935/codoforum-seo-discuss P/S: Do you like your URL like this? http://supra-mk3.club/codoforum/topic/65/guide-7m-syst-amp-egrave-me-de-diagnostique
NguoiAnPhu.com Powered by Codoforum 4.3 (https://github.com/nguoianphu/codoforums-vietnam).

Yes I like, and would love that.

Just this part: "syst-amp-egrave-me" should be "systeme" for readability.

I already implemented type site map generator, but I can't find my site in Google search results at the moment. I don't know if I do it correctly.

Yes I like, and would love that. Just this part: "syst-amp-egrave-me" should be "systeme" for readability. I already implemented type site map generator, but I can't find my site in Google search results at the moment. I don't know if I do it correctly.

Sitemap

Well, you need to register a Google Webmaster account. Then adding your sitemap link into it.

It's take > 7 days for Google to crawl and display your website in their search results.

The Links

Your word système becomes syst-amp-egrave-me. I afraid that you have to edit his file for your French language. smile

codoforum\sys\CODOF\Filter.php

I don't know why it doesn't work althought the Filter.php has this:

'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e'

You may ask @adesh1414127033 for help. I had to replace the Filter.php with another one for my Vietnamese language.

### Sitemap Well, you need to register a Google Webmaster account. Then adding your sitemap link into it. It's take > 7 days for Google to crawl and display your website in their search results. ### The Links Your word ```système ``` becomes ```syst-amp-egrave-me ```. I afraid that you have to edit his file for your French language. |( ``` codoforum\sys\CODOF\Filter.php ``` I don't know why it doesn't work althought the ```Filter.php``` has this: ```'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e' ``` You may ask @adesh1414127033 for help. I had to replace the Filter.php with another one for my Vietnamese language.
NguoiAnPhu.com Powered by Codoforum 4.3 (https://github.com/nguoianphu/codoforums-vietnam).
edited Aug 1 '15 at 5:56 am

Sitemap

I answered your topic: http://codologic.com/forum/index.php?u=/topic/3935/codoforum-seo-discuss

The links

I will check thank you, if I can't arrange this, I'll ask @adesh1414127033 smile

### Sitemap I answered your topic: http://codologic.com/forum/index.php?u=/topic/3935/codoforum-seo-discuss ### The links I will check thank you, if I can't arrange this, I'll ask [@adesh1414127033](http://codologic.com/forum/index.php?u=/user/profile/adesh1414127033) ;)
406
9
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft