Forum:insert figure and code in the post of Biostars?
4
0
Entering edit mode
9.4 years ago
Zhilong Jia ★ 2.2k

How to insert an image into a post in Biostars? There is a image icon above. BTW, how to display codes tidily (like markdown but not html)? I cannot find a readme or manual or else about it in Biostars. Thank you.

meta biostars • 5.4k views
ADD COMMENT
0
Entering edit mode

Sorry! I did totally post to the wrong thread

ADD REPLY
0
Entering edit mode

Did you post in a wrong thread?

ADD REPLY
0
Entering edit mode

Please see the guide on how to post images the right way. Thank you!

ADD REPLY
3
Entering edit mode
6.5 years ago
Ram 44k

I wrote an entire post on this topic. See: How to add images to a Biostars post

ADD COMMENT
1
Entering edit mode

I think this should arguably be the "accepted" answer - I have used this tutorial several times:

A: How to add images to a Biostars post

However, "thank you" everybody for your contributions :)

ADD REPLY
1
Entering edit mode

Thank you. The question is a lot older than my answer, so no wonder OP did not "accept" it. I'll toggle the accepted status now.

ADD REPLY
2
Entering edit mode
9.4 years ago
Ying W ★ 4.3k

You need to have an image hosted on a different website such as imgur then click on the Image icon between the Anchor (flag icon) and Table (boxes icon). Markdown is not yet supported but will be rolled out eventually, its been added to the new version of biostars: https://github.com/ialbert/biostar-central/issues/227#issuecomment-75310605

ADD COMMENT
2
Entering edit mode
6.5 years ago
h.mon 35k

BioStars uses a subset of CommonMark, there is a list of commands here.

blocks of code enclosing the code with three back-ticks do not work three back-ticks turn out the same as one back-tick, for inline code

# But blocks of code with four spaces preceding do:
print "\n";

Some possibilities (like adding a heading):

A numbered list:

  1. one
  2. three
  3. two

_italic_ __bold__ (display correctly on preview, but not when posted)

italic again bold again

An horizontal rule


An unordered list

  • this
  • is
  • a
  • list

One thing which didn't work is formatting a numbered list with parentheses:

1) One 2) Two 3) Three

ADD COMMENT

Login before adding your answer.

Traffic: 1558 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6