Skip to content
Permalink
Browse files

"*.markdown": Convert metadata lists to HTML.

  • Loading branch information...
damiendart committed Mar 3, 2019
1 parent 7fefd46 commit 2659ee92abaeea12026df447965e12c81ecf16bd
Showing with 33 additions and 27 deletions.
  1. +3 −3 addlastupdated
  2. +6 −4 computer.markdown
  3. +6 −4 illustrator.markdown
  4. +6 −4 index.markdown
  5. +6 −7 photoshop.markdown
  6. +6 −5 synology.markdown
@@ -14,7 +14,7 @@
# more information, please refer to the accompanying "UNLICENCE" file.

if ARGV.empty?
last_updated = '_See accompanying `addlastupdated` script._'
last_updated = '<i>See accompanying <code>addlastupdated</code> script.</i>'
else
last_updated =
'<a data-timestamp="' + `git log -n 1 --pretty=format:%at #{ARGV[1]}` +
@@ -24,6 +24,6 @@ else
end

puts STDIN.read.gsub(
/\*\*Last Updated\*\*:.*$/,
'**Last Updated**: ' + last_updated
/<li class="metadata-list__item"><b>Last Updated<\/b>:.*$/,
"<li class=\"metadata-list__item\"><b>Last Updated</b>: #{last_updated}</li>"
)
@@ -12,10 +12,12 @@
Computer Notes
==============

- **Last Updated**: _See accompanying `addlastupdated` script._
- **Licence**: [Creative Commons Attribution 4.0 International License][2]

[2]: <http://creativecommons.org/licenses/by/4.0/>
<ul class="metadata">
<li class="metadata-list__item"><b>Last Updated</b>: <i>See accompanying <code>addlastupdated</code> script.</i></li>
<li class="metadata-list__item">
<b>Licence</b>: <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</li>
</ul>


Setting up an Windows 10 install
@@ -12,10 +12,12 @@
Adobe Illustrator Notes
=======================

- **Last Updated**: _See accompanying `addlastupdated` script._
- **Licence**: [Creative Commons Attribution 4.0 International License][2]

[2]: <http://creativecommons.org/licenses/by/4.0/>
<ul class="metadata">
<li class="metadata-list__item"><b>Last Updated</b>: <i>See accompanying <code>addlastupdated</code> script.</i></li>
<li class="metadata-list__item">
<b>Licence</b>: <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</li>
</ul>


Miscellaneous notes
@@ -12,10 +12,12 @@
Damien's Notes
==============

- **Last Updated**: _See accompanying `addlastupdated` script._
- **Licence**: [Creative Commons Attribution 4.0 International License][2]

[2]: <http://creativecommons.org/licenses/by/4.0/>
<ul class="metadata-list">
<li class="metadata-list__item"><b>Last Updated</b>: <i>See accompanying <code>addlastupdated</code> script.</i></li>
<li class="metadata-list__item">
<b>Licence</b>: <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</li>
</ul>

Notes on various things. Don't expect much.

@@ -12,13 +12,12 @@
Photoshop Notes
===============

- **Author**: [Damien Dart][1], <damiendart@pobox.com>
- **Description**: Damien Dart's notes on Adobe Photoshop.
- **Last Updated**: _See accompanying `addlastupdated` script._
- **Licence**: [Creative Commons Attribution 4.0 International License][2]

[1]: <https://www.robotinaponcho.net/>
[2]: <http://creativecommons.org/licenses/by/4.0/>
<ul class="metadata-list">
<li class="metadata-list__item"><b>Last Updated</b>: <i>See accompanying <code>addlastupdated</code> script.</i></li>
<li class="metadata-list__item">
<b>Licence</b>: <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</li>
</ul>


Current brushes of choice
@@ -11,11 +11,12 @@
Synology Notes
==============

- **Last Updated**: _See accompanying `addlastupdated` script._
- **Licence**: [Creative Commons Attribution 4.0 International License][2]

[1]: <https://www.robotinaponcho.net/>
[2]: <http://creativecommons.org/licenses/by/4.0/>
<ul class="metadata-list">
<li class="metadata-list__item"><b>Last Updated</b>: <i>See accompanying <code>addlastupdated</code> script.</i></li>
<li class="metadata-list__item">
<b>Licence</b>: <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</li>
</ul>


Setting up a Synology DiskStation

0 comments on commit 2659ee9

Please sign in to comment.
You can’t perform that action at this time.