# DiscoTOC - טבלת תכנים אוטומטית

**URL:** https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143
**Category:** Theme component
**Tags:** official, disco-toc
**Created:** [9 במרץ,‏ 2019,‏ 5:36am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143 "2019-03-09T05:36:22Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [3 בפברואר,‏ 2022,‏ 5:46pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/331 "2022-02-03T17:46:57Z")

</div>

We target the immediate child headings to exclude headings in quotes or oneboxes and other elements in the Table of Contents. Otherwise, we’d have to exclude them individually, which can be tedious.

---

<div class="post-metadata">

### Author: ![f1r4s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f1r4s/32/245347_2.png) [@f1r4s](https://meta.discourse.org/u/f1r4s)
#### Post date: [7 בפברואר,‏ 2022,‏ 9:37pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/332 "2022-02-07T21:37:07Z")

</div>

Hi,

How we can make title in the table bold and sub-title normal font ?

---

<div class="post-metadata">

### Author: ![lisandro\_iaffar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lisandro_iaffar/32/315816_2.png) [@lisandro\_iaffar](https://meta.discourse.org/u/lisandro_iaffar)
#### Post date: [8 בפברואר,‏ 2022,‏ 8:49am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/333 "2022-02-08T08:49:26Z")

</div>

Hello! You have to do it with CSS.

---

<div class="post-metadata">

### Author: ![f1r4s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f1r4s/32/245347_2.png) [@f1r4s](https://meta.discourse.org/u/f1r4s)
#### Post date: [8 בפברואר,‏ 2022,‏ 8:51am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/334 "2022-02-08T08:51:14Z")

</div>

Thanks but i don’t have experiance in CSS, is there some ready template for that ?

---

<div class="post-metadata">

### Author: ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)
#### Post date: [8 בפברואר,‏ 2022,‏ 11:17am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/335 "2022-02-08T11:17:54Z")

</div>

You should be able to add something like this to the CSS section of your site theme:

```css
.d-toc-heading > li > a {
  font-weight: bold;
}

```

…which would look like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/b/ebf8432c85e49e28143c618b4de704a89117b8fd.png)

---

<div class="post-metadata">

### Author: ![Ralf\_Stockmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralf_stockmann/32/505867_2.png) [@Ralf\_Stockmann](https://meta.discourse.org/u/Ralf_Stockmann)
#### Post date: [8 בפברואר,‏ 2022,‏ 11:20am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/336 "2022-02-08T11:20:55Z")

</div>

DiscoTOC is a great component, thank you very much.  
Is there a chance to get this working in combination with the

> [@Page Publishing](https://meta.discourse.org/t/page-publishing/151971):
>
> bookmark This guide covers how to use the Page Publishing feature on Discourse. This feature allows Staff users to convert a topic into a standalone static page with custom styling. Examples include the Terms of Service and Privacy Policy pages. person_raising_hand Required user level: Staff Publishing static pages on Discourse Page Publishing allows Staff users to create standalone static pages from topics. This is similar to the process for creating Terms of Service or Privacy Policy …

Plugin?

---

<div class="post-metadata">

### Author: ![f1r4s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f1r4s/32/245347_2.png) [@f1r4s](https://meta.discourse.org/u/f1r4s)
#### Post date: [8 בפברואר,‏ 2022,‏ 11:21am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/337 "2022-02-08T11:21:57Z")

</div>

> [@simonk](#):
>
> ```plaintext
> .d-toc-heading > li > a {
> font-weight: bold;
> }
> 
> ```

It’s work good thanks, but how can i add this bold font for sub-sub-font ?

ex:  
headfont  
sub-headfont  
sub-sub-headfont  
sub-sub-sub-headfont

since i have 4 level of sub fonts inside the context.

Thanks

---

<div class="post-metadata">

### Author: ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)
#### Post date: [8 בפברואר,‏ 2022,‏ 11:34am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/338 "2022-02-08T11:34:07Z")

</div>

Sorry, I’m not sure I understand - do you want the same font for _all_ the links in the Table of Contents? If so, you could probably use something like this:

```css
#d-toc a {
  font-weight: bold;
}

```

If you want different styles for different levels of heading, you’ll need something a bit more complicated:

```css
// Style for first-level headings
.d-toc-heading > li > a {
  font-weight: bold;
}

// Style for second-level headings
.d-toc-heading > li > ul > li > a {
  color: red;
}

// Style for third-level headings
.d-toc-heading > li > ul > li > ul > li > a {
  color: green;
}

// etc.

```

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/7/b7e5914be051b9887a609ac1b607890201d3a904.png)

Note that this is quite closely tied to the implementation of the theme component, so if that ever changes, you might need to update these rules.

---

<div class="post-metadata">

### Author: ![f1r4s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f1r4s/32/245347_2.png) [@f1r4s](https://meta.discourse.org/u/f1r4s)
#### Post date: [8 בפברואר,‏ 2022,‏ 11:37am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/339 "2022-02-08T11:37:16Z")

</div>

Thank you so much, this is what i want.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [8 בפברואר,‏ 2022,‏ 12:52pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/340 "2022-02-08T12:52:05Z")

</div>

There are currently no plans to support published pages. It is supported alongside the docs plugin.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [14 בפברואר,‏ 2022,‏ 10:02am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/341 "2022-02-14T10:02:16Z")

</div>

Does anyone have an issue with DiscoTOC being displayed in desktop mode while in 📱 **mobile view**?

We had the issue on 2.7.x and even after 2.8. update it persists, see here:  
[https://forum.cannabisanbauen.net/docs?topic=2272](https://forum.cannabisanbauen.net/docs?topic=2272)

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [16 בפברואר,‏ 2022,‏ 12:05pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/342 "2022-02-16T12:05:18Z")

</div>

Excuse me! Joe  
Today, i update Discourse, My DiscoToc full right Display but broken screen width.  
I update newest Disco Toc theme Component.  
Can you continue to fix this issue.

```plaintext
https://nganhangbatdongsan. com/t/bang-gia-xem-data-nha-chinh-chu/63389

```

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/a/6ababed2d101ae4c16993fb5561fa0d419e5916b.png)

Thank you!

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [16 בפברואר,‏ 2022,‏ 1:50pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/343 "2022-02-16T13:50:09Z")

</div>

So that’s not a problem of DiscoTOC, it’s because you have the layouts plugin taking up space as well.

---

<div class="post-metadata">

### Author: ![kiwikid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kiwikid/32/129688_2.png) [@kiwikid](https://meta.discourse.org/u/kiwikid)
#### Post date: [24 בפברואר,‏ 2022,‏ 7:59am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/344 "2022-02-24T07:59:29Z")

</div>

Still getting the same issue; have had to remove the old version of DiscoTOC that was at least installing/working as it doesn’t work with the latest Discourse.

The /log summary is:

```plaintext
Aws::S3::Errors::InvalidArgument (Unsupported value for canned acl 'public-read')
lib/s3_helper.rb:74:in `upload'
lib/file_store/s3_store.rb:116:in `store_file'
lib/file_store/s3_store.rb:30:in `store_upload'
lib/upload_creator.rb:212:in `block (2 levels) in create_for'
lib/upload_creator.rb:211:in `open'
lib/upload_creator.rb:211:in `block in create_for'
lib/distributed_mutex.rb:33:in `block in synchronize'
lib/distributed_mutex.rb:29:in `synchronize'
lib/distributed_mutex.rb:29:in `synchronize'
lib/distributed_mutex.rb:14:in `synchronize'
lib/upload_creator.rb:64:in `create_for'
app/models/remote_theme.rb:164:in `block in update_from_remote'
app/models/remote_theme.rb:160:in `each'
app/models/remote_theme.rb:160:in `update_from_remote'
app/models/remote_theme.rb:93:in `import_theme'
app/controllers/admin/themes_controller.rb:104:in `import'
app/controllers/application_controller.rb:397:in `block in with_resolved_locale'
app/controllers/application_controller.rb:397:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:358:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:202:in `call'

```

And backtrace:

```plaintext
aws-sdk-core (3.121.2) lib/seahorse/client/plugins/raise_response_errors.rb:17:in `call'
aws-sdk-s3 (1.96.1) lib/aws-sdk-s3/plugins/sse_cpk.rb:24:in `call'
aws-sdk-s3 (1.96.1) lib/aws-sdk-s3/plugins/dualstack.rb:36:in `call'
aws-sdk-s3 (1.96.1) lib/aws-sdk-s3/plugins/accelerate.rb:50:in `call'
aws-sdk-core (3.121.2) lib/aws-sdk-core/plugins/jsonvalue_converter.rb:22:in `call'
aws-sdk-core (3.121.2) lib/aws-sdk-core/plugins/idempotency_token.rb:19:in `call'
aws-sdk-core (3.121.2) lib/aws-sdk-core/plugins/param_converter.rb:26:in `call'
aws-sdk-core (3.121.2) lib/seahorse/client/plugins/request_callback.rb:71:in `call'
aws-sdk-core (3.121.2) lib/aws-sdk-core/plugins/response_paging.rb:12:in `call'
aws-sdk-core (3.121.2) lib/seahorse/client/plugins/response_target.rb:24:in `call'
aws-sdk-core (3.121.2) lib/seahorse/client/request.rb:72:in `send_request'
aws-sdk-s3 (1.96.1) lib/aws-sdk-s3/client.rb:11274:in `put_object'
aws-sdk-s3 (1.96.1) lib/aws-sdk-s3/object.rb:1329:in `put'
lib/s3_helper.rb:74:in `upload'
lib/file_store/s3_store.rb:116:in `store_file'
lib/file_store/s3_store.rb:30:in `store_upload'
lib/upload_creator.rb:212:in `block (2 levels) in create_for'
lib/upload_creator.rb:211:in `open'
lib/upload_creator.rb:211:in `block in create_for'
lib/distributed_mutex.rb:33:in `block in synchronize'
lib/distributed_mutex.rb:29:in `synchronize'
lib/distributed_mutex.rb:29:in `synchronize'
lib/distributed_mutex.rb:14:in `synchronize'
lib/upload_creator.rb:64:in `create_for'
app/models/remote_theme.rb:164:in `block in update_from_remote'
app/models/remote_theme.rb:160:in `each'
app/models/remote_theme.rb:160:in `update_from_remote'
app/models/remote_theme.rb:93:in `import_theme'
app/controllers/admin/themes_controller.rb:104:in `import'
actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (6.1.4.1) lib/abstract_controller/base.rb:228:in `process_action'
actionpack (6.1.4.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (6.1.4.1) lib/active_support/callbacks.rb:117:in `block in run_callbacks'
app/controllers/application_controller.rb:397:in `block in with_resolved_locale'
i18n (1.10.0) lib/i18n.rb:328:in `with_locale'
app/controllers/application_controller.rb:397:in `with_resolved_locale'
activesupport (6.1.4.1) lib/active_support/callbacks.rb:126:in `block in run_callbacks'
activesupport (6.1.4.1) lib/active_support/callbacks.rb:137:in `run_callbacks'
actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (6.1.4.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `block in instrument'
activesupport (6.1.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `instrument'
actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:33:in `process_action'
actionpack (6.1.4.1) lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
activerecord (6.1.4.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
actionpack (6.1.4.1) lib/abstract_controller/base.rb:165:in `process'
actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process'
rack-mini-profiler (2.3.4) lib/mini_profiler/profiling_methods.rb:111:in `block in profile_method'
actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch'
actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve'
actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:49:in `serve'
actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.3) lib/rack/conditional_get.rb:40:in `call'
rack (2.2.3) lib/rack/head.rb:12:in `call'
actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:358:in `call'
rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
logster (2.10.1) lib/logster/middleware/reporter.rb:43:in `call'
railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app'
railties (6.1.4.1) lib/rails/rack/logger.rb:28:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
rack (2.2.3) lib/rack/method_override.rb:24:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:92:in `call'
rack-mini-profiler (2.3.4) lib/mini_profiler/profiler.rb:393:in `call'
message_bus (4.2.0) lib/message_bus/rack/middleware.rb:60:in `call'
lib/middleware/request_tracker.rb:202:in `call'
railties (6.1.4.1) lib/rails/engine.rb:539:in `call'
railties (6.1.4.1) lib/rails/railtie.rb:207:in `public_send'
railties (6.1.4.1) lib/rails/railtie.rb:207:in `method_missing'
rack (2.2.3) lib/rack/urlmap.rb:74:in `block in call'
rack (2.2.3) lib/rack/urlmap.rb:58:in `each'
rack (2.2.3) lib/rack/urlmap.rb:58:in `call'
unicorn (6.1.0) lib/unicorn/http_server.rb:634:in `process_client'
unicorn (6.1.0) lib/unicorn/http_server.rb:739:in `worker_loop'
unicorn (6.1.0) lib/unicorn/http_server.rb:547:in `spawn_missing_workers'
unicorn (6.1.0) lib/unicorn/http_server.rb:143:in `start'
unicorn (6.1.0) bin/unicorn:128:in `<top (required)>'
vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `load'
vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `<main>'

```

The URL from the env summary was: `REQUEST_URI	/admin/themes/import` - so I’m pretty sure I’ve got the right error.

Maybe I’ve unintentionally set things up in a non-standard way. I have Backblaze (S3 API) configured in `app.yml` with `DISCOURSE_USE_S3` commented out, but all other S3 settings entered. `DISCOURSE_BACKUP_LOCATION` is set to `S3`. The goal was to keep local image etc uploads but have backups go to Backblaze. None of the S3 settings appear to be enabled in the admin web pages. Backups have been appearing on Backblaze, and I can still add images etc- so I assumed all is good.

Any suggestions appreciated!

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [24 בפברואר,‏ 2022,‏ 10:32pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/345 "2022-02-24T22:32:19Z")

</div>

This isn’t a DiscoTOC issue. Please search for Backblaze here on meta to see if you can find the solution to your issue. (And if you don’t find one, feel free to open a separate support topic.)

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [25 בפברואר,‏ 2022,‏ 6:42pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/346 "2022-02-25T18:42:03Z")

</div>

We’re getting an error after upgrading Discourse:

![Screenshot from 2022-02-25 18-35-43](https://global.discourse-cdn.com/meta/original/3X/f/0/f08088d9cad6a095eb2981139c3955e42293ec9e.png)

edit: oh no, sorry. that’s on an instance that is not updated. It’s probably because of that.

---

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [2 במרץ,‏ 2022,‏ 3:13pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/348 "2022-03-02T15:13:42Z")

</div>

In case this helps others, I was struggling to add a ToC to a seemingly-properly formatted post & it kept not showing up. Finally I checked edit history:

![Selection_022](https://global.discourse-cdn.com/meta/original/3X/e/5/e5d11d8f4eea6e9b28d6b3789d6980e938fdb5ab.png)

Moving the tag to a new line (and whittling it down to just one instance) fixed the problem.

---

<div class="post-metadata">

### Author: ![yhmtsai](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@yhmtsai](https://meta.discourse.org/u/yhmtsai)
#### Post date: [26 באפריל,‏ 2022,‏ 10:18pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/351 "2022-04-26T22:18:34Z")

</div>

Hi, I face the following issue.  
If there are chinese headings, TOC link can not link to correct location.  
For example, [KeepZotero 防止 Zotero 被關掉 - 綜合討論 - TW Community](https://forum.community.tw/t/topic/238)  
Clicking the 2nd-5th links from right side table always shift to second heading position not the corresponding position.  
If click the link on heading left side, it works and the link is like `${topic-url}#h-4`  
Is it the same issue as [Bug of DiscoTOC with Chinese Headings - bug - Discourse Meta](https://meta.discourse.org/t/bug-of-discotoc-with-chinese-headings/223694) mentioned?

---

<div class="post-metadata">

### Author: ![topological](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@topological](https://meta.discourse.org/u/topological)
#### Post date: [27 באפריל,‏ 2022,‏ 3:41am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/352 "2022-04-27T03:41:52Z")

</div>

I believe it is the same

---

<div class="post-metadata">

### Author: ![yhmtsai](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@yhmtsai](https://meta.discourse.org/u/yhmtsai)
#### Post date: [1 במאי,‏ 2022,‏ 7:00pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/353 "2022-05-01T19:00:12Z")

</div>

I try your fix on my site and it works correctly.  
Do you plan to create a pull request?

[Previous page](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143.md?page=3)

[Next page](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143.md?page=5)
