LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2015, 06:50 AM   #1
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Rep: Reputation: 46
Github markdown editor?


Which editor do you use for writing Readmes for github?

I'd like to know if there is such an editor already in the repos that can show the file before it gets pushed.
 
Old 11-28-2015, 07:24 AM   #2
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
Quote:
Originally Posted by turboscrew View Post
Which editor do you use for writing Readmes for github?

I'd like to know if there is such an editor already in the repos that can show the file before it gets pushed.
You could try Atom, a nodejs based editor. It has a Markdown preview mode. I personally use Emacs, I'm sure there is a way to compile the markdown from within Emacs. After all, emacs is a full OS without an usable editor

Edit: Forgot the link to SBo: http://slackbuilds.org/repository/14...elopment/atom/
 
2 members found this post helpful.
Old 11-28-2015, 07:36 AM   #3
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
I'll try. Sbopkg knows it. The 500MB gets me worried a bit, though...

How does Emacs handle it? Add-ons needed? Can it show the result?
(I've already written some stuff, but don't want to publish it before I can see if it's OK.)

Last edited by turboscrew; 11-28-2015 at 07:39 AM.
 
Old 11-28-2015, 07:41 AM   #4
navigium
Member
 
Registered: Aug 2014
Location: Switzerland
Distribution: Slackware, FreeBSD
Posts: 119

Rep: Reputation: 58
Quote:
Originally Posted by turboscrew View Post
I'll try. I'm sure sbopkg finds it.
How does Emacs handle it? Add-ons needed? Can it show the result?
I haven't used it in a while because I usually stick to asciidoc. But I think the Emacs markdown mode[1] compiles the markdown it you hit C-c C-c. But you need markdown installed and a web browser to preview the outcome.


[1]: http://jblevins.org/projects/markdown-mode/
 
Old 11-28-2015, 08:00 AM   #5
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by navigium View Post
I haven't used it in a while because I usually stick to asciidoc. But I think the Emacs markdown mode[1] compiles the markdown it you hit C-c C-c. But you need markdown installed and a web browser to preview the outcome.
It might be easier to start with a Emacs Starter-package that includes Markdown mode. My favorite: spacemacs. At the moment still a bit of a moving target, but works extremely well without having to spend ages setting up emacs to do what I want it to do.
 
1 members found this post helpful.
Old 11-28-2015, 08:34 AM   #6
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
It's the previewing the outcome I'm mostly interested in.
Tried with Firefox/Markdown Viewer, but there is some pseudo code that the basic markdown doesn't show right. Any idea about a Firefox plugin that could handle github markdown?
 
Old 11-28-2015, 09:03 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by turboscrew View Post
Which editor do you use for writing Readmes for github?
Vim.

https://github.com/kikinovak/microlinux
 
Old 11-28-2015, 09:13 AM   #8
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
I wrote a readme with Geany, but I just don't know what it looks like when pushed into github.
I also tried a GFM-reader plugin for eclipse (Kepler): The window opened, but nothing appeared in it.
 
Old 11-28-2015, 09:36 AM   #9
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by turboscrew View Post
It's the previewing the outcome I'm mostly interested in.
Did you actually look at Spacemacs? In other words it allows you to preview markdown output for the file you are editing.

@Kinovak: I actually switched from Vim to Spacemacs as it does a very good job of feeling like Vim with the power of the emacs plugins.
 
Old 11-28-2015, 09:40 AM   #10
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by moesasji View Post
Did you actually look at Spacemacs? In other words it allows you to preview markdown output for the file you are editing.

@Kinovak: I actually switched from Vim to Spacemacs as it does a very good job of feeling like Vim with the power of the emacs plugins.
Not yet. I'm installing Atom to see if it works.
I have tried a couple of chrome plugins in chromium, but couldn't make any of them to work.
 
Old 11-28-2015, 09:45 AM   #11
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
I'm working on a bare metal program and the readme is for that, but I don't want to make that readme.md a life's work. If it's getting too laborous I'll either stick with the text version or push the md unchecked.

I've been writing bare metal standalone gdb agent for Rapberry Pi 2B and I'm geting frustrated enough with that. I really don't need more problems with each tool.
(Neither RPi 2B nor gdb are very abundant with clear documentation. ;-) )

And BTW, the readme really looks messy:
https://github.com/turboscrew/rpi_stub

Last edited by turboscrew; 11-28-2015 at 10:11 AM.
 
Old 11-28-2015, 10:14 AM   #12
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
I think I'll try spacemacs next...
Quote:
Unable to download https://www.atom.io/api/packages/lan....14.0/tarball: connect ETIMEDOUT
;-)
 
Old 11-28-2015, 10:37 AM   #13
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
About spacemacs, what's there in "orgmode.org" port 80? Spacemacs has waited for something for a while.
 
Old 11-28-2015, 10:44 AM   #14
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Already installing bind-key... I wish I could put all applications somewhere far away cloud. Then I could enjoy the network lags all the time... ;-D
(And I hope the storm outside doesn't start making problems - or damage in the neighbourhood...)
 
Old 11-28-2015, 10:48 AM   #15
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by turboscrew View Post
About spacemacs, what's there in "orgmode.org" port 80? Spacemacs has waited for something for a while.
I've never seen this, but looks like you hit this bug. Essentially Spacemacs looks for updates during startup and in this case it can't find one of the servers. There is a fix in devel, so the best approach might be to use the development branch for now.

edit) I see you posted that you got past the hurdle, so ignore the suggestion. The good news is that once it is installed it is fast....just installing all the plugins initially takes a longish time.

Last edited by moesasji; 11-28-2015 at 10:50 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The search for a usable Markdown editor for my Linux desktop LXer Syndicated Linux News 0 10-07-2014 12:11 PM
LXer: The search for a usable Markdown editor for my Linux desktop LXer Syndicated Linux News 0 10-06-2014 09:33 PM
LXer: Markdown Editor Roundup: gedit vs. UberWriter vs. ReText LXer Syndicated Linux News 0 02-28-2014 07:40 AM
LXer: ReText 3.0 Released (Text Editor For Markdown And reStructuredText) LXer Syndicated Linux News 0 03-09-2012 03:41 PM
LXer: ReText: A Text Editor with Support for reStructuredText and Markdown LXer Syndicated Linux News 0 11-24-2011 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration