pages-themes / hacker

Hacker is a Jekyll theme for GitHub Pages

Home Page:https://pages-themes.github.io/hacker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can I comment out something?

jamesfranklinnetsec opened this issue · comments

on github markdown I can exclude a section just doing

<!-- 
thing i want to exclude
-->

but I'm not sure how I can do this on this

commented

What are you trying to do it with?

What are you trying to do it with?

with the index.md, the default it comes with I wanted to comment out some of the sections. I was practicing the features and I didn't want to have to delete the tutorial material they provided while testing it inline so I wanted to comment off bits of it.

commented

I'm not quite sure sadly.

Hi @jamesfranklinnetsec

If you are trying to comment in markdown files you can use

  • The HTML markup <!-- This is a coment -->

  • Or provided tags by itself:

    [comment]: <> (This is a comment, it will not be included)
    [comment]: <> (in  the output file unless you use it in)
    [comment]: <> (a reference style link.)
    [//]: # (This is a comment.)
    [//]: # (This is a comment on a new line.)

In site templates (Jekyll using Liquid engine)

{% comment %} 
    These commments will not include inside the source.
{% endcomment %}

I hope this helps

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.