Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include file-content as part of markdown. #346

Closed
kanuku opened this issue Aug 16, 2014 · 138 comments
Closed

Include file-content as part of markdown. #346

kanuku opened this issue Aug 16, 2014 · 138 comments

Comments

@kanuku
Copy link

kanuku commented Aug 16, 2014

It would be great if we could include certain lines from another file to be showed inside a mardown file.

For example something like:
{5:12}(code/example.java)

Would result in including the specified java file, lines 5 to 12

05. 
06. public static void main(String[] args) {
07.
08.   system.out.println("Hello World!");
09.
10.
11.
12. }
@kanuku kanuku changed the title Include file-content as part of transformation. Include file-content as part of markdown. Aug 16, 2014
@gjtorikian
Copy link
Contributor

How would this work if the contents of the file changed? For example, if code/example.java no longer existed on master?

@bkeepers
Copy link
Contributor

bkeepers commented Sep 3, 2014

Thanks for the suggestion. See #172 (comment).

@bkeepers bkeepers closed this as completed Sep 3, 2014
@anthony-cros
Copy link

This would be a very useful feature...

@wvangeit
Copy link

wvangeit commented Nov 7, 2016

+1

@mwpowellhtx
Copy link

Would be great for boilerplate or site/sub-section wide announcements or sections.

@MarcinMoskala
Copy link

+1

4 similar comments
@gjrtimmer
Copy link

+1

@sschaetz
Copy link

+1

@seanwendt
Copy link

+1

@pcejrowski
Copy link

+1

@mghiumiusliu
Copy link

+100000

@smeggingsmegger
Copy link

+1

3 similar comments
@NicolaiSchmid
Copy link

+1

@scinfu
Copy link

scinfu commented Mar 31, 2017

+1

@igorrmotta
Copy link

+1

@slayoo
Copy link

slayoo commented Apr 4, 2017

+1
(and it would be great to select language for syntax highlighting for the contents as well)

@brry
Copy link

brry commented Apr 6, 2017

+1

7 similar comments
@roblu
Copy link

roblu commented Apr 7, 2017

+1

@jgebal
Copy link

jgebal commented Apr 22, 2017

+1

@chipironcin
Copy link

+1

@fab2s
Copy link

fab2s commented May 6, 2017

+1

@mpires
Copy link

mpires commented May 8, 2017

+1

@zanderwar
Copy link

+1

@irusri
Copy link

irusri commented May 13, 2017

+1

@Sixdd6
Copy link

Sixdd6 commented Jun 2, 2017

+1

1 similar comment
@angeloocana
Copy link

+1

@krzysg
Copy link

krzysg commented Jun 27, 2018

+1

10 similar comments
@Neuroboy23
Copy link

+1

@Suffering56
Copy link

+1

@pavelbozhko
Copy link

+1

@josemariasola
Copy link

+1

@hariel18
Copy link

+1

@ismailhkose
Copy link

+1

@Tarrke
Copy link

Tarrke commented Jul 2, 2018

+1

@ib4
Copy link

ib4 commented Jul 2, 2018

+1

@ghost
Copy link

ghost commented Jul 3, 2018

+1

@dhaeb
Copy link

dhaeb commented Jul 3, 2018

+1

@mcarans
Copy link

mcarans commented Jul 3, 2018

As this issue is closed, I raised a while back this one which is still open so perhaps has slightly more chance of being noticed by GitHub: #1159

@phd
Copy link

phd commented Jul 29, 2018

+1

9 similar comments
@AppWerft
Copy link

AppWerft commented Aug 3, 2018

+1

@pvcraven
Copy link

pvcraven commented Aug 4, 2018

+1

@aniketgawade
Copy link

+1

@grocid
Copy link

grocid commented Aug 13, 2018

+1

@hrvojegolcic
Copy link

+1

@Cortado-J
Copy link

+1

@pascal8888
Copy link

+1

@Bia3
Copy link

Bia3 commented Aug 19, 2018

+1

@eeliu
Copy link

eeliu commented Aug 24, 2018

+1

@ahmubashshir
Copy link

+100

@mrJeppard
Copy link

+1

1 similar comment
@Muldec
Copy link

Muldec commented Aug 29, 2018

+1

@lacymorrow
Copy link

lacymorrow commented Sep 1, 2018

An empty comment of "+1" adds nothing to any Github conversation.

If you would like to express gratitude for a comment, please use the 👍 feature created to avoid this exact issue.

<3 you all

@ghost
Copy link

ghost commented Sep 1, 2018

I think the +1 is merely a way to spam the email of the maintainers to attract attention to a popular github feature request issue. If you just thumbs up someone's comment the maintainers do not receive a notification :) If the maintainers do not wish to pursue the request they can always lock the issue.

@github github locked as resolved and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests