You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/11/26 23:55:43 UTC
[allura:tickets] #6921 Enable 'startinline' option for better PHP code
highlighting
---
** [tickets:#6921] Enable 'startinline' option for better PHP code highlighting**
**Status:** open
**Created:** Tue Nov 26, 2013 10:55 PM UTC by Dave Brondsema
**Last Updated:** Tue Nov 26, 2013 10:55 PM UTC
**Owner:** nobody
Pygment's PhpLexer has a 'startinline' option so that the '<?php' preamble isn't needed. I think that would be helpful almost all the time (frequently code snippets of php don't have that). Can we turn it on as part of the markdown extension?
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #6921 Enable 'startinline' option for better PHP code
highlighting
Posted by Dave Brondsema <br...@users.sf.net>.
- **labels**: 42cc -->
- **status**: in-progress --> open
- **Milestone**: forge-backlog --> limbo
---
** [tickets:#6921] Enable 'startinline' option for better PHP code highlighting**
**Status:** open
**Created:** Tue Nov 26, 2013 10:55 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 04, 2014 03:53 PM UTC
**Owner:** nobody
Pygment's PhpLexer has a 'startinline' option so that the '<?php' preamble isn't needed. I think that would be helpful almost all the time (frequently code snippets of php don't have that). Can we turn it on as part of the markdown extension?
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] Re: #6921 Enable 'startinline' option for better PHP code
highlighting
Posted by Igor Bondarenko <je...@users.sf.net>.
Yeah, seems like this is the only way. Codehilite doesn't provide any options to configure lexers.
Closed #529 on our side.
---
** [tickets:#6921] Enable 'startinline' option for better PHP code highlighting**
**Status:** in-progress
**Labels:** 42cc
**Created:** Tue Nov 26, 2013 10:55 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 04, 2014 03:53 PM UTC
**Owner:** nobody
Pygment's PhpLexer has a 'startinline' option so that the '<?php' preamble isn't needed. I think that would be helpful almost all the time (frequently code snippets of php don't have that). Can we turn it on as part of the markdown extension?
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] Re: #6921 Enable 'startinline' option for better PHP code
highlighting
Posted by Dave Brondsema <br...@users.sf.net>.
Okay, I guess I was hoping there would be a somewhat simple way to enable that option through our existing markdown extension setup. If, as you say, it'll be complex and ugly, and take a fair bit of time to set up now (and in the future to maintain extra layers of code), then we shouldn't spend time working on it now.
---
** [tickets:#6921] Enable 'startinline' option for better PHP code highlighting**
**Status:** in-progress
**Labels:** 42cc
**Created:** Tue Nov 26, 2013 10:55 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 04, 2014 03:53 PM UTC
**Owner:** nobody
Pygment's PhpLexer has a 'startinline' option so that the '<?php' preamble isn't needed. I think that would be helpful almost all the time (frequently code snippets of php don't have that). Can we turn it on as part of the markdown extension?
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #6921 Enable 'startinline' option for better PHP code
highlighting
Posted by Igor Bondarenko <je...@users.sf.net>.
Seems like we'll need to implement own codehilite-like extension to do that. It'll involve subclassing a couple of codehilite classes and some copypaste from them. Don't sure if it worth it.
---
** [tickets:#6921] Enable 'startinline' option for better PHP code highlighting**
**Status:** in-progress
**Labels:** 42cc
**Created:** Tue Nov 26, 2013 10:55 PM UTC by Dave Brondsema
**Last Updated:** Mon Feb 03, 2014 06:20 PM UTC
**Owner:** nobody
Pygment's PhpLexer has a 'startinline' option so that the '<?php' preamble isn't needed. I think that would be helpful almost all the time (frequently code snippets of php don't have that). Can we turn it on as part of the markdown extension?
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.