Skip to content

Update version of markdown-it library #173

Description

@l4mbd0x

Currently (rc13) markdown for italic text can be achieved by:

  • a with _ a _ (using it without spaces)
  • a with * a * (using it without spaces)
    It is ok if a note has its text with either of both symbols used to identify italic
  • I like rc_13 with * rc_13 * (using it without spaces)
  • I like rc-13 with _ rc-13 _ (using it without spaces)
    And it even works if it is using a _ in between the italic text such as in
  • I like rc_13 with _ rc _ 13 _ (using it without spaces)
  • I like rc_13_I_like_rc_13 with _ rc _ 13 _ I _ like _ rc _ 13 _ (using it without spaces)
    But not if it uses * in between the italic text such as in
  • I like rc13* with * rc * 13 * (using it without spaces)
  • I like rc13Ilikerc13* with * rc * 13 * I * like * rc * 13 * (using it without spaces)
    Hence it will fail if both of them occurs at the same time too.
    Obs: Even Github's markdown parser fails for the case with * :).

Currently (rc13) markdown for negrit text can be achieved by:

  • a with __ a __ (using it without spaces)
  • a with ** a ** (using it without spaces)
    It is ok if a note has its text with either of both symbols used to identify negrit
  • I like rc__13 with ** rc _ 13 ** (using it without spaces)
  • I like rc**13 with __ rc ** 13 ** (using it without spaces)
    Even if it is using a __ in between the negrit text such as in
  • I like rc__13 with __ rc __ 13 __ (using it without spaces)
  • I like rc__13__I__like__rc__13 with __ rc __ 13 __ I __ like __ rc __ 13 __ (using it without spaces)
    But not if it uses * in between the italic text such as in
  • I like rc13** with ** rc ** 13 ** (using it without spaces)
  • I like rc13Ilikerc13** with ** rc ** 13 ** I ** like ** rc ** 13 ** (using it without spaces)
    Hence it will fail if both of them occurs at the same time too.
    Obs: Even Github's markdown parser fails for the case with ** too :).

Finally, currently (rc13) markdown for strike through text can be achieved by:

  • a with ~~ a ~~ (using it without spaces)
    Which fails if used with a ~~ in between
  • I like rc13~~ with ~~ rc ~~ 13 ~~ (using it without spaces)
    Obs: Again, even Github's markdown parser fails for the case with ** too :).

Metadata

Metadata

Labels

project:jsThis affects the js UItag:uxThis affects UX (design, intuitive use, localization, etc)type:choreSomething we need to do

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions