Author Topic: Mardown coloring and paragraph fill  (Read 2089 times)

guth

  • Senior Community Member
  • Posts: 104
  • Hero Points: 7
Mardown coloring and paragraph fill
« on: August 23, 2018, 08:57:36 PM »
It would be nice if, e.g., headings where colored in markdown files, and that paragraph reflow, <meta>-q in Emacs mode, would be a bit more intelligent in markdown mode. For instance, if doing a paragraph reflow on a bullet in a list, then it only should reflow that bullet and not all bullets, if they have no empty lines above and below.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Mardown coloring and paragraph fill
« Reply #1 on: August 23, 2018, 10:35:40 PM »
It would be nice if, e.g., headings where colored in markdown files
I'm not sure if I followed this part. Heading should be colored in markdown files. Maybe you need to post an example. I understand the second part of what you said.

guth

  • Senior Community Member
  • Posts: 104
  • Hero Points: 7
Re: Mardown coloring and paragraph fill
« Reply #2 on: August 24, 2018, 09:32:37 AM »
It would be good if Heading 1 and Subheading 1 could be colored differently from normal text. Futher, the 'some monospaced text' could also be colored differently from other text.
Code: [Select]
# Heading 1

A perfect paragraph.

## Subheading1

```
some monospaced text
```

The paragraph reflow comment is also valid for bulleted lists in LaTeX. LaTeX bulleted list:

Code: [Select]
\begin{itemization}
\item bla bla bla
\item bla bla bal
\end{itemization}

Paragraph reflow in one of the items should be possible. Today, as far as I have used that function, it reformats the entire itemization.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Mardown coloring and paragraph fill
« Reply #3 on: August 24, 2018, 01:44:12 PM »
Sounds like SlickEdit isn't going into Markdown mode. The headings (and other things) should be color coding.

When your markdown file is active set the edit mode to Markdown: Document>Select Mode  -- choose Markdown

guth

  • Senior Community Member
  • Posts: 104
  • Hero Points: 7
Re: Mardown coloring and paragraph fill
« Reply #4 on: August 24, 2018, 05:16:56 PM »
Correct. When opening slick using a new configuration, the markdown file gets colored, but using the configuration I normally use, the command markdown-mode seems not to color the file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Mardown coloring and paragraph fill
« Reply #5 on: August 24, 2018, 05:31:53 PM »
That could be because SlickEdit didn't always have support for Markdown.