question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Define format for writing guides

See original GitHub issue

The goal of this task is to figure out the best format for guides.

Consider:

  • extensibility
  • easy to use
  • popularity
  • render library that we allowed to use

Issue also requires specification concerning Che actions format. Format has to be intuitively understand for Technology provider and any person who wants to write guide.

@eivantsov 's suggestion:

[action type=ide actionID=helpAboutAction]
[action type=openFile path=/path/to/file scroll=23 highlight=23:25]
[action type=command name=build and run]

Epic: https://github.com/eclipse/che/issues/6150

DoD:

  • Parser in question has to cover at least MD format
  • Performance tests performed to compare client side parser vs server side parser
  • Proposed format for custom actions can be parsed and relatively easy to use
  • License checked

Sources to look at: https://code.visualstudio.com/docs/languages/markdown

@benoitf already has made investigation, see details in comments

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrienkoAleksandrcommented, Nov 7, 2017

I completed investigation using markdown format for che guide. Like nice candidate I chose js library markdown-it. It quite small (106.4 Kb), quite fast and it supports extending markdown syntax with help plugins. Microsoft use this library in their vscode markdown extension. I’ve got this syntax:

[action, id="open-file", path="/path", line=30]

I wrote mockup plugin for markdown-it to support rendering che action buttons. Source code here: MarkDownItTest Github demo where is you can see rendering action buttons inside different markdown elements here: che actions plugin demo

0reactions
benoitfcommented, Nov 7, 2017

yes congrats @AndrienkoAleksandr

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create a Writing Style Guide [+Free Guide & Examples]
Define your company's voice and tone. Outline branded words and phrases. Establish guidelines for formatting. Use a style guide template.
Read more >
What Is a Writing Style Guide, and Which One Should You Use?
Most writers will encounter four commonly used writing style guides: AP style, Chicago style, APA style and MLA style.
Read more >
Style Guide Overview - Purdue OWL
Most people know style guides as rules for citation formatting. Common and popular style guides include MLA and APA, both of which the...
Read more >
Style Guides - Write the Docs
A style guide contains a set of standards for writing and designing content. It helps maintain a consistent style, voice, and tone across...
Read more >
How to Choose a Style Guide for Academic Writing - Enago
A style guide is a reference book that provides rules for writing, such as grammar and syntax, in specific disciplines. These include how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found