Project

General

Profile

Actions

Defect #20526

closed

Incorrect new WIKI page heading, when using "Markdown" text formatting

Added by Arnis Juraga over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

1. Go to settings
2. choose "Markdown (experimental)" as Text formatting.
3. Go to any WIKI page, crate new page.

The new page will have heading

# Heading test

Instead of default Markdown heading formatting:

Heading test
===

Environment:
  Redmine version                3.0.1.stable
  Ruby version                   1.9.3-p194 (2012-04-20) [i486-linux]
  Rails version                  4.2.0
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Mercurial                      2.2.2
  Git                            1.7.10.4
  Filesystem                     
Redmine plugins:
  add_link                       0.0.1
  redmine_changeauthor           1.0.0
  redmine_custom_css             0.1.4
  redmine_improved_searchbox2    0.0.3
  redmine_lightbox2              0.2.2
Actions #1

Updated by Go MAEDA over 9 years ago

  • Subject changed from Incorrect new WIKI page heading, when using "Markdown" text formatting to Markdown formatter does not support Setext-style headers

According to Markdown Syntax Documentation, Markdown supports two styles of headers. Both of the following are correct syntax.

Setext-style:

This is an H1
=============

This is an H2
-------------

Atx-style:

# This is an H1

## This is an H2

Actions #2

Updated by Go MAEDA over 9 years ago

  • Subject changed from Markdown formatter does not support Setext-style headers to Incorrect new WIKI page heading, when using "Markdown" text formatting
Actions #3

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Needs feedback
  • Assignee set to Arnis Juraga

Please explain how your proposed fix is better than the current default.

Actions #4

Updated by Go MAEDA over 8 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

As I described in #20526#note-1, it is not incorrect.

Actions

Also available in: Atom PDF