GitHub Wiki — Markdown Reference Guide - Yash-777/LearnJava GitHub Wiki
https://www.markdownguide.org/cheat-sheet/
[^plain]: The file can be read without rendering it. [^1]: This is the footnote.
- Organizing information with tables: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables
- Organizing information with collapsed sections: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
- Creating diagrams: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams
A complete reference for GitHub-flavored Markdown: emojis, tables, alerts, collapsibles, code blocks, keyboard keys, and branch naming conventions.
---| Icon | Meaning | Icon | Meaning |
|---|---|---|---|
| ✅ | Correct / Yes | ❌ | Wrong / Problem |
| 💡 | Idea / Explanation | 🔍 | Search |
| 📌 | Pin / Important | 🛑 | Warning / Stop |
| Caution | 🔁 | Repeat / Loop | |
| 🚨 | Note / Alert | 🚫 | Not used / Blocked |
| ❓ | Why? / Question | ➕ | Add / Extra |
| 📚 | Summary / Docs | 🧠 | Explanation |
| 📊 | Chart / Stats | 📅 | Date / Schedule |
| 🧪 | Sample / Test | 🧮 | Quick Comparison |
| 📐 | Estimated | 🧰 | Optional / Tools |
| 🔑 | Key / Auth | 🔐 | Secure endpoint |
| 🔓 | Public endpoint | 📦 | Package |
| ⚙️ | Settings | 🛠️ | Fix / Refactor |
| 🐬 | MySQL-only field | 🧑💻 | Developer / Code |
| 📋 |
.java file |
🧾 | Full JavaDoc |
| 🏷️ | Branch naming | 🪪 | Jira Ticket Type |
These are shorthand markers used inline throughout documentation to signal meaning at a glance.
| Marker | Meaning |
|---|---|
| 🔐 | Author/Secure — authenticated endpoint |
| 🔓 | Publicly accessible endpoint |
| 🐬 | MySQL-only field |
| 🛠 | Refactored |
| 🛠️ | Fix applied |
📋 .java
|
Reference to a .java source file |
| 🧾 | Full JavaDoc available |
| ⚙️ | Configuration / settings |
Images [💪 🧬 🔢 🔚 🧑💻 🚦 ➤ ✔ → ➩ ⌘ ⌥ ↑ ↵ ① ② ③ ]
- ✅ Correct/Yes, 💡 Idea/Explanation, 🔍 search, 📌 Pin, , 🛑 Warning,
⚠️ warn, 🔁 , 🚨 Note, 🚫 Not used - ❓ Why, ✔, ❌ Wrong/Problem, ➕
- 📚 Summary, 📘 , 🧠 Explanation, 📊 , 📅
- 🧪 Sample
- 🧮 Quick Comparison, 📐 Estimated, 🧰 Optional
- 🔑 Key, 🔐 Author/Secure Authenticated endpoints, 🔓 Publicly accessible endpoints
- 📦 📁 Package, 🧾🧾 Full JavaDoc, ⚙️ Setting / 📋 `.java file`, 🛠️ Fix, 🛠 Refactored
- 🏷️ Branch Naming Convention Based on Jira Tickets :: 🪪 Jira Ticket Types → 🔧 Git Branch Prefix
- 🐬 MySQL-only field, Spring frame work(bean container injection)
🗂️ Tables Use HTML
<table>with<pre lang="java">for side-by-side code comparisons.
Single line code
| Code | Information |
|---|---|
String s = "Yash"; |
String literal |
keyboard key block style <kbd>Ctrl</kbd>
|
Press Ctrl + S to save |
Tab Shift Alt
Space Delete
💡 A blank/empty line that contains only whitespace (such as tabs or spaces) inside a <pre> block can cause formatting or rendering issues, like:
- Collapsed formatting
- Misaligned indentation
- Extra spacing or unexpected behavior in GitHub Wiki
<table>
<tr>
<th>Interface 1 <code>default print():void</code></th>
<th>Interface 2 <code>default print():void</code></th>
</tr>
<tr>
<td><pre lang="java">
interface I1 {
static void i1() {
System.out.println("I1 static function");
}
default void print() {
System.out.println("I1 print");
}
}
</pre></td>
<td><pre lang="java">
interface I2 {
static void i2() {
System.out.println("I2 static function");
}
default void print() {
System.out.println("I2 print");
}
}
</pre></td>
</tr>
<tr>
<td colspan="2"><pre lang="java">
public class MultipleInheritance implements I1, I2 {
public static void main(String[] args) {
System.out.println("Main Thread start...");
(new MultipleInheritance()).print();
}
@Override
public void print() {
I1.super.print(); // Calling print of I1 interface
}
}
</pre></td>
</tr>
</table>📂 Collapsible Sections — <details> & <summary>
Use <details> and <summary> to hide/show content.
Important
Always leave an empty line after the closing </summary> tag, otherwise markdown/code blocks won't render correctly.
| Header 1 | Header 2 |
|---|---|
| Stream | Stream in Detail oracle article |
List transactionsIds =
transactions.stream()
.filter(t -> t.getType() == Transaction.GROCERY)
.sorted(comparing(Transaction::getValue).reversed())
.map(Transaction::getId)
.collect(toList()); |
|
|
- [x] #739 - [ ] Add delight to the experience when all tasks are complete 🎉 |
|
@octocat :+1: This PR looks great - it's ready to merge! :shipit: |
@octocat 👍 This PR looks great - it's ready to merge! |