Open Punpun1643 opened 1 year ago
[x] affd
[ ] noigf
jijn
hiuguivjk
6r7ry
ugygyhkjhljjgt6754wrtfyv656767r67v6v7r6r67r7r
void init( void ) {
...
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glGenTextures(1, &texObj);
glBindTexture(GL_TEXTURE_2D, texObj);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
...
gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGBA, imageWidth, imageHeight, GL_RGBA, GL_UNSIGNED_BYTE, texImage);
...
}
Team chose [response.Rejected
]
Reason for disagreement: asdasdasdafadf asdasdsadsa
asdjsaiodjsfiaiowej
`a
but tsrjaopdads
markdown-mode Test Cases
Lists
Unordered lists:
Ordered lists:
List items with bold and italic:
Bold and italic phrases at the beginning of lines:
not a list also not a list
Blockquotes
Two Inline Links on One Line
Contributed by Ryan Barrett on 2007-07-02
thanks! the new version 1.4 works great. very cool.
i did notice a minor bug. if there are two inline links in the same line, e.g. foo baz foo, it colors the text between the links (baz) as well.
i'm guessing this is because the inline link regexp is greedy. if you switch it to non-greedy - if elisp can do that - or to something like '[^]+]' if not, that might do the trick.
Empty Inline Links
[]() [asdf]()
Bold and Italics on the Same Line
Contributed by Conal Elliott on 2007-08-27
By the way, here are two syntax-highlighting glitches I've seen so far:
foo and doo or ziddle zop Oh -- what's happening here?
Reverse Order Italic then Bold
Why doesn't the bold part get picked up? ziddle zop or foo and doo
Two Inline Links in One Line
Contributed by Alastair Rankine on 2007-09-10
Thanks for this, I have been waiting for an emacs markdown mode for ages!
One minor quibble is in the highlighting of inline links. As currently (1.4) implemented the presence of a close paren on the same line as an inline link will highlight the link and the subsequent text:
[blah](this bit will be highlighted) and so (will this bit)
I think this is because of greedy regexes. Here is a simple patch to address.
Reference-Style Link with a Space
Here's a link with a space between the components.
Inline Code
Single
backtick code
fragments as well asdouble`backtick
fragments are supported.Single Underscore and Asterisk
This is a _ single underscore and a * single asterisk. They should not trigger font locking.
Double Underscores and Asterisks
Neither should a double **asterisk and double__ underscore!
List-Like Strings in Preformatted Text
To make lists look nice, you can wrap items with hanging indents:
Multi-Line Italic and Bold
bold phrase spanning two lines asdf same line test
italic phrase spanning two lines italic same line test
Reference Links
This document was created in GNU Emacs using markdown-mode. It provides syntax highlighting for Markdown documents which allows reference-style links like these. The reference definitions can even contain alternate text such as this one.
Escaping
ab *literal asterisks* asdf inside * literal asterisks asd lkj
ab *this should be italic* yz
ab *this should be italic* yz
ab *this should be italic* yz
ab *this should be italic* yz
Single Letter and Word on Same Line
a single a bold letter and bold word test asdf
a single a italic letter and italic word test asdf
a single a bold letter and bold word test asdf
a single a italic letter italic word test asdf
Hanging Indents
!
;alt
attribute text for the image;Links in Preformatted Text
Here's an example of reference links in action:
Slash-Star in Preformatted Text
svn commit -m "Imported RCS project" svn add image.png binaries/* svn commit -m "Imported additional project files"
This text gets counted as part of the block quote too. But it can be ended by a star-slash: */ It is as if
markdown-mode
is using C++ style comments.Fixed by commit d81138d.
Underscores in Code Blocks
Contributed by shindo on 2008-01-20
Escaped Characters
Escaped backticks: `not code`
Escaped underscores: don't_italicize_this
Escaped asterisks: *also not italic*
Escaped hash marks:
# This is not a heading
Adjacent Wiki Links
[[Two]] [[WikiLinks]] [[InARow]]
SmartyPants
This is a test of "SmartyPants," a progrm written by John Gruber for generating typographically correct HTML entities--ones such as the em-dash and ellipsis...
Horizontal Rules
Asterisks and Underscores Across Blocks
Asterisks *should
not match across* block boundaries.
Underscores _should
not match across_ block boundaries.
Double Asterisks **should
not match across** block boundaries.
Double underscores __should
not match across__ block boundaries.
But, this should still match.
So should this.
Addressed by commit d81138d.
Underscores Within Words
Code fragments
can_have_underscores_inside_like
this.Code Blocks Spanning Lines
Markdown allows
code fragments
to span across lines.Let's make sure that
double` backtick`code fragments
work this way too.However, they should `not
match` across blocks.
Here's another
valid
one.Pre Blocks and Nested Lists
List level 1 item 1
List level 1 item 2
This is a second paragraph, part of item 2.
This nested pre block should match
Now we move back to the list.
List level 1 item 3
List level 2 item 1
Nested pre block
List level 2 item 2
List level 3 item 1
Nested pre block
Colon After Wiki Link
Incorrect Parsing of List Paragraph
Contributed by Luciano Gerber garopaba_uk@yahoo.co.uk on April 4, 2012.
It is interesting to see what happens when one queries
social upheaval
andprotopalatial era
.social upheaval
: the following queries have been tried:social upheaval subClassOf
The preceding text should not be matched as a preformatted block.
Footnotes
This is a footnote marker,[^1] but this is not.^
[^1]: And the definition of the footnote is here.
Carat as Implicit Reference Link
This is a valid markdown link: ^
Email Address Inside Bold and Italic Spans
Lorem ipsum@dolor.sit amet.
Lorem ipsum@dolor.sit amet.
URL Inside Bold and Italic Spans
markdown-mode homepage http://jblevins.org/projects/markdown-mode/
markdown-mode homepage http://jblevins.org/projects/markdown-mode/
Complex Preformatted Code Block
class Employee < ActiveRecord::Base attr_accessible :github_username, :name
def self.syncify! begin employee_sync = GitOrganized::GithubEmployeeSync.new( GitOrganized::Organization.new( GitOrganized.config.default_org, ["employees-pull", "employees-push"] ), Sources.new )
end
after_save do |employee| Employee.syncify! end after_destroy do |employee| Employee.syncify! end end
Fenced Code Blocks
Fenced code blocks begin with three or more tildes and end with a line with at least as many tildes.
They may also have a
lang
attribute.In Kramdown, one specifies the language identifier as follows:
or with a Maruku-style inline attribute list
{: .language-fortran}