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

docs/PseudoC-spec: Fix markup. #1

Merged
merged 1 commit into from
Dec 3, 2016
Merged

Conversation

mewmew
Copy link
Contributor

@mewmew mewmew commented Dec 2, 2016

Insert line breaks and prevent * from making text italic.

Before:

The syntax is: (type)expr. Examples:

After:

The syntax is: *(type*)expr. Examples:

Before:

$a0 = (u32)$a0 $a0 = (u8)($a1 + $a2) $eax = (u32)($ebx + $ecx * 8 + 3)

After:

$a0 = *(u32*)$a0
$a0 = *(u8*)($a1 + $a2)
$eax = *(u32*)($ebx + $ecx * 8 + 3)

Insert line breaks and prevent * from making text italic.

Before:
	The syntax is: (type)expr. Examples:

After:
	The syntax is: *(type*)expr. Examples:

Before:
	$a0 = (u32)$a0 $a0 = (u8)($a1 + $a2) $eax = (u32)($ebx + $ecx * 8 + 3)

After:
	$a0 = *(u32*)$a0
	$a0 = *(u8*)($a1 + $a2)
	$eax = *(u32*)($ebx + $ecx * 8 + 3)
@pfalcon pfalcon merged commit e5e07df into pfalcon:master Dec 3, 2016
@pfalcon
Copy link
Owner

pfalcon commented Dec 3, 2016

Thanks! That doc spent quite a lot of time in my git stash, and I knew needs more editing passes, but somehow I decided to push whatever it was.

I wasn't exactly sure about "c" in

```c
  • I'd like to keep the docs readable even as the plain text, and that "c" is a noise then, but merged as is for now. Thanks again.

@mewmew
Copy link
Contributor Author

mewmew commented Dec 3, 2016

I'd like to keep the docs readable even as the plain text, and that "c" is a noise then

Feel free to remove the "c". It is intended to provide syntax highlighting for GitHub Flavoured Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants