# A simple horizontal rule

**URL:** <https://connect.superhuman.com/t/a-simple-horizontal-rule/378>\
**Category:** Tips and Hacks\
**Created:** [March 26, 2018, 9:22am UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378 "2018-03-26T09:22:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Unwin1](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/josh_unwin1/32/5885_2.png) [@Josh\_Unwin1](https://connect.superhuman.com/u/Josh_Unwin1)\
**Post date:** [March 26, 2018, 9:22am UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/1 "2018-03-26T09:22:20Z")

</div>

I’m big on layout and readability of documents, and look forward to Coda expanding it’s options for this.

One thing I’ve always liked to use in documents (Google Docs etc) is the horizontal rule, so I created one via a variable using the Rectangle() formula. Simple, and maybe obvious, but I’m sure there might be some users out there who might find the tip useful like me 🙂

I used the settings of: Rectangle(1000,1,"#BDBDBD") and gave the variable a name of ‘hrule’ so now it’s very quick and easy to add a new one.

 ![21](https://global.discourse-cdn.com/coda1/original/1X/b401266549cefcefbd9c04590cb453417f7a4728.png)

 ![55](https://global.discourse-cdn.com/coda1/original/1X/94719a373fe3eed76d578f66669ef58fccd74acc.png)

Now would be a good time to suggest the idea of being able to set ‘global user variables’? Perhaps a tickbox when naming a variable to say whether this variable should be available across all your docs (so in this case I wouldn’t have to make the =hrule variable on each separate doc).

Loving the potential of Coda 😃

---

<div class="post-metadata">

**Author:** ![mallika](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mallika/32/12981_2.png) [@mallika](https://connect.superhuman.com/u/mallika)\
**Post date:** [March 26, 2018, 5:42pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/2 "2018-03-26T17:42:46Z")

</div>

This is pretty cool Josh. Rectangle looks all simple but has potential, doesn’t it?  
I do like your idea of global user variables. Got me thinking about how this would work across collaborative docs.

> [@Josh\_Unwin1](#):
>
> Now would be a good time to suggest the idea of being able to set ‘global user variables’? Perhaps a tickbox when naming a variable to say whether this variable should be available across all your docs (so in this case I wouldn’t have to make the =hrule variable on each separate doc).

---

<div class="post-metadata">

**Author:** ![tomavatars](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/tomavatars/32/6130_2.png) [@tomavatars](https://connect.superhuman.com/u/tomavatars)\
**Post date:** [March 26, 2018, 6:00pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/3 "2018-03-26T18:00:04Z")

</div>

I totally agree with the need for a global variables set up.  
Either creating a specific document that would contain all my variables, then be able to fetch it from any other documents, or a Coda specific section in user settings where we would create those variables.  
Need!

---

<div class="post-metadata">

**Author:** ![Al\_Chen](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/al_chen/32/7293_2.png) [@Al\_Chen](https://connect.superhuman.com/u/Al_Chen)\
**Post date:** [March 26, 2018, 6:11pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/4 "2018-03-26T18:11:00Z")

</div>

+1 for this idea. This is akin to the [personal.xlsb file](https://support.office.com/en-us/article/copy-your-macros-to-a-personal-macro-workbook-aa439b90-f836-4381-97f0-6e4c3f5ee566) one uses in Excel to maintain functions and macros across workbooks.

---

<div class="post-metadata">

**Author:** ![Josh\_Unwin1](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/josh_unwin1/32/5885_2.png) [@Josh\_Unwin1](https://connect.superhuman.com/u/Josh_Unwin1)\
**Post date:** [March 26, 2018, 6:34pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/5 "2018-03-26T18:34:00Z")

</div>

Yeah, I can imagine it being a little tricky to work in from a technical standpoint!

---

<div class="post-metadata">

**Author:** ![Calle\_Stalhem](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/calle_stalhem/32/446_2.png) [@Calle\_Stalhem](https://connect.superhuman.com/u/Calle_Stalhem)\
**Post date:** [March 28, 2018, 7:06pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/6 "2018-03-28T19:06:21Z")

</div>

> [@tomavatars](#):
>
> a Coda specific section in user settings where we would create those variables.

+1 on this idea.

Also, if you are part of an organization or company this could be expanded to global variables for that entire organization.

---

<div class="post-metadata">

**Author:** ![Alex\_Stevens](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/alex_stevens/32/7001_2.png) [@Alex\_Stevens](https://connect.superhuman.com/u/Alex_Stevens)\
**Post date:** [March 21, 2019, 10:58pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/7 "2019-03-21T22:58:47Z")

</div>

Clever! You can also now create a horizontal rule, albeit a lighter-grey one, by typing 3 consecutive n-dashes/hyphens and then hitting the space bar. 🙂

Coda seems to support some (but not?) all Markdown markup. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![anon21780085](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon21780085](https://connect.superhuman.com/u/anon21780085)\
**Post date:** [April 1, 2019, 10:58pm UTC](https://connect.superhuman.com/t/a-simple-horizontal-rule/378/8 "2019-04-01T22:58:21Z")

</div>

Wow, this worked! Thanks for posting this. Really needed a divider.
