mattermost-community-enterp.../tests/test-tables.md
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00

89 lines
1.9 KiB
Markdown

# Markdown Tables
Verify that all tables render as described. First row is boldface.
### Normal Tables
These tables use different raw text as inputs, but all three should render as the same table.
#### Table 1
Raw text:
```
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
```
Renders as:
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
#### Table 2
Raw Text:
```
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
```
Renders as:
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
#### Table 3
Raw Text:
```
| First Header | Second Header |
| ------------- | ----------- |
| Content Cell | Content Cell|
| Content Cell | Content Cell |
```
Renders as:
| First Header | Second Header |
| ------------- | ----------- |
| Content Cell | Content Cell|
| Content Cell | Content Cell |
### Tables Containing Markdown
This table should contain A1: Strikethrough, A2: Bold, B1: Italics, B2: Dolphin emoticon.
| Column\Row | 1 | 2 |
| ------------- | ------------- |------------- |
| A | ~~Strikethrough~~ | **Bold** |
| B | _italics_ | :dolphin: |
### Table with Left, Center, and Right Aligned Columns
The left column should be left aligned, the center column centered and the right column should be right aligned.
| Left-Aligned | Center Aligned | Right Aligned |
| :------------ |:---------------:| -----:|
| 1 | this text | $100 |
| 2 | is | $10 |
| 3 | centered | $1 |
### Table with Escaped Pipes
First row cells: single backslash, "asdf". Second row cells: "ab" , "a|d"
| \\ | asdf|
|----|-----|
| ab | a\|d|