This page also used for testing components used in the posts and pages.
Useful links
My blog’s information
Design
Frequently used Emoji
:D(shortcut) | ||
😄 :smile: | 😊 :blush: | 😍 :heart_eyes: |
😓 :sweat: | :thumbsup: :thumbsup: | 😋 :yum: |
😰 :cold_sweat: | 😱 :scream: | 😭 :sob: |
😜 :stuck_out_tongue_winking_eye: | 😗 :kissing: | 😪 :sleepy: |
💩 :poop: | ✌ :v: | 💯 :100: |
🙈 :see_no_evil: | 🙉 :hear_no_evil: | 🙊 :speak_no_evil: |
💋 :kiss: | 💀 :skull: | 💧 :droplet: |
🎆 :fireworks: | 📢 :loudspeaker: | ⚠️ :warning: |
🚫 :no_entry_sign: | ✅ :white_check_mark: | ❌ :x: |
㊙️ :secret: | ⁉️ :interrobang: | ‼️ :bangbang: |
| and more from Emoji Cheatsheet |
CSS
Keys
- Control <kbd>Contro</kbd>
- Shift ⇧ <kbd>Shift ⇧</kbd> - use Unicode characters
Markdown (with plugins)
++Inserted++Inserted- Footnote
[^1]for the mark1,[^1]:for the note - Use {% raw %}{% raw %}{% endraw %}{% endraw %} if the markdown cause you trouble on {% raw %}{{}} or {%%}{% endraw %}
- Youtube Video {% raw %}{% youtube [youtube id] %}{% endraw %}
| Action | Markdown | Sample |
|---|---|---|
| sub | H~2~0 | H |
| sup | x^2^ | x^2^ |
| Bold | **bold** | bold |
| Italic | *italic* | italic |
| Bold and Italic | ***bold and italic*** | bold and italic |
| Marked | ==marked== | ==marked== |
| Strikethrough | ~~strikethrough~~ | |
| Inline code | `inline code` | inline code |
| Link | [link text](https://neo01.com) | link text |
| Image |  | |
| Attributes with style class, eg: |
# header {.style-me}
paragraph {data-toggle=modal}
paragraph *style me*{.red} more text
output
<h1 class="style-me">header</h1>
<p data-toggle="modal">paragraph</p>
<p>paragraph <em class="red">style me</em> more text</p>
Table Column Alignment
Code:
| --- | :-- | :-: | --: |
| 1 | 1 | 1 | 1 |
| 22 | 22 | 22 | 22 |
| 333 | 333 | 333 | 333 |{% endraw %}
Result:
| Default | Left | Center | Right |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 22 | 22 | 22 | 22 |
| 333 | 333 | 333 | 333 |
Blockquote
Code:
> Some quote text
Result:
Some quote text
Ordered list
Code:
1. item 1
2. item 2
Result:
- item 1
- item 2
Unordered list
Code:
- item 1
- item 2
Result:
- item 1
- item 2
Horizontal rule
Code:
---
Result:
GitHub Card
User
Code:
:::githubCard{user="neoalienson"}
:::
Result:
A repository
Code:
:::githubCard{user="neoalienson" repo="pachinko"}
:::
Result:
Mermaid JS
Echarts
Simple bar chart:
Line chart:
Admonition Blocks
anote - General Notes
This is a general note block for observations and additional context.
info - Additional Information
Use absolute paths when referencing assets in localized content.
todo - Task Reminders
- Add excerpt to all blog posts
- Verify tag capitalization
- Test mermaid diagrams
warning - Important Warnings
Hexo 8.x requires Node.js 14.0.0 or higher. Update your environment before upgrading.
error - Critical Issues
Do not use note type - it conflicts with CSS. Always use anote instead.
success - Positive Outcomes
Your site has been generated successfully and is ready for deployment.
tip - Best Practices
Enable lazy loading for images to improve page load times.
question - Considerations
Should we use Git Flow or GitHub Flow for this project?
quote - Citations
Talk is cheap. Show me the code.
Advanced Formatting Inside Blocks
Lists Inside Admonition
Before deploying:
- Remove all API keys and secrets
- Enable HTTPS
- Update dependencies
- Check for vulnerabilities
- Run
npm audit fix
- Test in staging environment
Blockquote Inside Admonition
Simplicity is the ultimate sophistication. — Leonardo da Vinci This principle applies to code architecture and user interface design. :::
Mixed Content
Step 1: Install dependencies
npm install hexo-cli -g
Step 2: Create new project
- Initialize:
hexo init blog - Navigate:
cd blog - Install:
npm install
Step 3: Configuration checklist
- Update
_config.yml - Set site title and description
- Configure deployment settings
Note: Always backup your configuration before major changes. :::
Footnotes
-
Footnote sample ↩