markdown support for raw html
This commit is contained in:
parent
b3001145fd
commit
897275d583
4 changed files with 72 additions and 94 deletions
|
@ -12,7 +12,7 @@ body.kind-page {
|
|||
|
||||
.content-section {
|
||||
flex: 60%;
|
||||
max-width: 60%;
|
||||
max-width: 80%;
|
||||
order: 2;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
|
|
63
config.yaml
63
config.yaml
|
@ -2,7 +2,6 @@ baseURL: "https://sharwin24.github.io/toha/"
|
|||
|
||||
languageCode: "en-us"
|
||||
title: "Sharwin's Portfolio"
|
||||
|
||||
outputs:
|
||||
home:
|
||||
- "HTML"
|
||||
|
@ -41,6 +40,68 @@ module:
|
|||
target: static/fonts
|
||||
|
||||
|
||||
markup:
|
||||
defaultMarkdownHandler: goldmark
|
||||
goldmark:
|
||||
duplicateResourceFiles: false
|
||||
extensions:
|
||||
cjk:
|
||||
eastAsianLineBreaks: false
|
||||
eastAsianLineBreaksStyle: simple
|
||||
enable: false
|
||||
escapedSpace: false
|
||||
definitionList: true
|
||||
extras:
|
||||
delete:
|
||||
enable: false
|
||||
insert:
|
||||
enable: false
|
||||
mark:
|
||||
enable: false
|
||||
subscript:
|
||||
enable: false
|
||||
superscript:
|
||||
enable: false
|
||||
footnote: true
|
||||
linkify: true
|
||||
linkifyProtocol: https
|
||||
passthrough:
|
||||
delimiters:
|
||||
block: []
|
||||
inline: []
|
||||
enable: false
|
||||
strikethrough: true
|
||||
table: true
|
||||
taskList: true
|
||||
typographer:
|
||||
apostrophe: '’'
|
||||
disable: false
|
||||
ellipsis: '…'
|
||||
emDash: '—'
|
||||
enDash: '–'
|
||||
leftAngleQuote: '«'
|
||||
leftDoubleQuote: '“'
|
||||
leftSingleQuote: '‘'
|
||||
rightAngleQuote: '»'
|
||||
rightDoubleQuote: '”'
|
||||
rightSingleQuote: '’'
|
||||
parser:
|
||||
attribute:
|
||||
block: false
|
||||
title: true
|
||||
autoHeadingID: true
|
||||
autoHeadingIDType: github
|
||||
wrapStandAloneImageWithinParagraph: true
|
||||
renderHooks:
|
||||
image:
|
||||
enableDefault: false
|
||||
link:
|
||||
enableDefault: false
|
||||
renderer:
|
||||
hardWraps: false
|
||||
unsafe: true
|
||||
xhtml: false
|
||||
|
||||
# Site parameters
|
||||
params:
|
||||
# Background image of the landing page
|
||||
|
|
|
@ -16,7 +16,10 @@ categories: ["Basic"]
|
|||
|
||||
This project incorporates several robotics concepts to perform a pick and place task in simulation using a mecanum-wheeled mobile robot with a 5 degree-of-freedom robot arm.
|
||||
|
||||

|
||||
<!--  -->
|
||||
<div align="center">
|
||||
<img src="robot.png" alt="Robot">
|
||||
</div>
|
||||
|
||||
## Omnidirectional Mobile Base Kinematics (Mecanum Wheels)
|
||||
This robot uses mecanum wheels, which are omnidirectional wheels with 45-degree rollers that allow the robot to move in any direction without changing its orientation. When controlling the robot, we command the wheel velocities, which can be described by the following equation:
|
||||
|
@ -34,7 +37,10 @@ where:
|
|||
- \\(x_i\\) and \\(y_i\\) are the x and y coordinates of the wheel relative to the body frame's origin
|
||||
- \\(V_b\\) is the robot's 3D body twist, composed of the linear and angular velocity: \\([v_x, v_y, \omega]\\)
|
||||
|
||||

|
||||
<!--  -->
|
||||
<div align="center">
|
||||
<img src="mecanum_base.png" alt="Mecanum Base">
|
||||
</div>
|
||||
|
||||
## Trajectory Generation
|
||||
There were two
|
||||
|
|
|
@ -65,101 +65,12 @@
|
|||
<div class="post-content" id="post-content">
|
||||
{{ .Page.Content }}
|
||||
</div>
|
||||
|
||||
<!-- Share or Contribute -->
|
||||
<div class="row ps-3 pe-3">
|
||||
<!--Social Media Share Buttons-->
|
||||
<div class="col-md-6 share-buttons">
|
||||
{{ if site.Params.features.blog.shareButtons }}
|
||||
<strong>{{ i18n "share_on" }}:</strong>
|
||||
{{ if site.Params.features.blog.shareButtons.facebook }}
|
||||
<a class="btn icon-button bg-facebook" href="https://www.facebook.com/sharer.php?u={{ .Permalink }}" target="_blank">
|
||||
<i class="fab fa-facebook"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.twitter }}
|
||||
<a class="btn icon-button bg-twitter" href="https://twitter.com/share?url={{ .Permalink }}&text={{ .Title }}&via={{- site.Title -}}" target="_blank">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.reddit }}
|
||||
<a class="btn icon-button bg-reddit" href="https://reddit.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank">
|
||||
<i class="fab fa-reddit"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.tumblr }}
|
||||
<a class="btn icon-button bg-tumblr" href="https://www.tumblr.com/share/link?url={{ .Permalink }}&name={{ .Title }}{{- with .Params.description -}}&description={{- . -}}{{- end -}}" target="_blank">
|
||||
<i class="fab fa-tumblr"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.pocket }}
|
||||
<a class="btn icon-button bg-pocket" href="https://getpocket.com/save?url={{ .Permalink }}&title={{ .Title }}" target="_blank">
|
||||
<i class="fab fa-get-pocket"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.linkedin }}
|
||||
<a class="btn icon-button bg-linkedin" href="https://www.linkedin.com/shareArticle?url={{ .Permalink }}&title={{ .Title }}" target="_blank">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.diaspora }}
|
||||
<a class="btn icon-button bg-diaspora" href="https://share.diasporafoundation.org/?title={{ .Title }}&url={{ .Permalink }}" rel="nofollow" target="_blank">
|
||||
<i class="fab fa-diaspora"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.mastodon }}
|
||||
<a class="btn icon-button bg-mastodon" href="https://mastodon.social/share?text={{ .Title }} - {{ .Permalink }}" target="_blank">
|
||||
<i class="fab fa-mastodon"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.whatsapp }}
|
||||
<a class="btn icon-button bg-whatsapp" href="https://api.whatsapp.com/send?text={{ .Title }} {{ .Permalink }}" target="_blank">
|
||||
<i class="fab fa-whatsapp"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if site.Params.features.blog.shareButtons.email }}
|
||||
<a class="btn icon-button" href="mailto:?subject={{ .Title }}&body={{ .Permalink }}" target="_blank">
|
||||
<i class="fas fa-envelope-open-text"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<!--- Improve this page button --->
|
||||
<!--
|
||||
{{ if site.Params.GitRepo }}
|
||||
{{ if site.Params.GitBranch }}
|
||||
{{ .Scratch.Set "GitBranch" site.Params.GitBranch }}
|
||||
{{ else }}
|
||||
{{ .Scratch.Set "GitBranch" "main" }}
|
||||
{{ end }}
|
||||
<div class="col-md-6 btn-improve-page">
|
||||
{{ if ( eq site.Params.GitForge "gitlab" ) }}
|
||||
<a href="{{ site.Params.GitRepo }}/-/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||
{{ else if ( eq site.Params.GitForge "gitea" ) }}
|
||||
<a href="{{ site.Params.GitRepo }}/_edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||
{{ else }} <--- Make Github-style the default
|
||||
<a href="{{ site.Params.GitRepo }}/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||
{{ end }}
|
||||
<i class="fas fa-code-branch"></i>
|
||||
{{ i18n "improve_this_page" }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
<!---Next and Previous Navigator -->
|
||||
<hr />
|
||||
{{ partial "navigators/next-prev-navigator.html" . }}
|
||||
<hr />
|
||||
|
||||
<!----- Add comment support ----->
|
||||
{{ if site.Params.features.comment.enable }}
|
||||
{{ partial "comments.html" site.Params.features.comment.services }}
|
||||
{{ end }}
|
||||
|
||||
<!-- Keep backward compatibility with old config.yaml -->
|
||||
{{ if .Site.Config.Services.Disqus.Shortname }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue