Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rules:
1. I open an issue named `Testing in-title #1 issue references`
Copy link
Member Author

@fregante fregante Jun 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spaces

 
  
  function() {}  
function  () {}
 
  
  function() {}  
function  () {}

Tabs

	
		
		function()	{}		
function		()	{}
	
		
		function()	{}		
function		()	{}

Mixed

	 
	 	 
 	 function() {} 	
function	 ()	{}
	 
	 	 
 	 function() {} 	
function	 ()	{}

Inlined

sandbox/README.md

Lines 19 to 28 in d773f59

```md
function() {}
function () {}
# Test URLs
https://github.com/fregante/github-sandbox/issues/345
```

Real code

function showWhiteSpacesOn(line: Element): void {
	const shouldAvoidSurroundingSpaces = Boolean(line.closest('.blob-wrapper-embedded')); // #2285
	const textNodesOnThisLine = getTextNodes(line);
	for (const [nodeIndex, textNode] of textNodesOnThisLine.entries()) {
		// `textContent` reads must be cached #2737
		let text = textNode.textContent!;
		if (text.length > 1000) { // #5092
			continue;
		}

3. I use its URL in a PR, like:
```md
I created this feature that works on titles.
I created this feature that works on titles.

# Test URLs

Expand Down